1.)Functions
are a way of making code so you don't have to keep copying
and pasting or rewriting the same code over and over
in your document You can call a function at any time
in your program. When ever called it will execute the
code you have written previously in your program. A
basic example of this would be this. You can test this
by pasting it into a frame.
function
myFunction(){
trace("function has been called");
}
myFunction();
myFunction();
myFunction();
myFunction();
myFunction();
myFunction();
myFunction();
|