Pittsburgh Web Development | DVD Authoring Services | Web Hosting    

Pittsburgh Web Development | DVD Authoring Services
 
Contact Me
 
 
Action Script - Creating a Function

This script should be place on frame 1 of movie. "myVariable" is optional. By creating functions you can call a series of commands many times within a movie without retyping them.

_global.myFunction = function(myVariable) {
}



You can then call the function with this syntex.

myFunction(myVariable)