Creating a Function 101 Basic function


//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")

← Back to home