Creating a Function 101 Basic function
Posted by Helmut Granda | Filed under Flash Bits
//declare your function and function name:
traceFunction = function(parameterPassed){
//what do you want the function to do?
trace(parameterPassed);
//end your function
};
//Lets make it work
traceFunction("Hello Earth")