test_mc.addEventListener(MouseEvent.CLICK, test);
function test([COLOR=Red]event[/COLOR]:MouseEvent):void{
trace(event);
}
is there a reason other then convention to use the word [COLOR=Red]event[/COLOR] in the functions parameter, because any other name would work too. example.
test_mc.addEventListener(MouseEvent.CLICK, test);
function test([COLOR=Red]traceEvent[/COLOR]:MouseEvent):void{
trace([COLOR=Black]traceEvent[/COLOR]);
}
the only reason I ask is because event turns blue when I use it and that usually means it’s a reserved word. so what is it?