Functions with Actionscript Overview
Learning how to write and call functions is an important part of any programming language. Functions allow you to modularize your code into reusable groupings or routines. There are two main aspects to functions: how to create the function and then how to call the function. In the video tutorial below, I discuss the basic format of the function in Flash CS6 Actionscript 3. How to create or declare the function, how to call the function, and how to pass data to the function through parameters.
In this video, I show to create and call a function in Actionscript 3.0 and 2.0