I have notisted that not many of you know about that. You can call an Event handler function normaly without the dispatchEvent. For example you have the button Click handler function:
private function buttonClick(e:MouseEvent):void { trace("button click"); } /*If you write a function like this and you will call the buttonClick(); you will get an error that you havent provide the the Event.*/ private function buttonClick(e:MouseEvent = null):void { trace("button click"); } /* if you try somethink like this, you can call the buttonClick() function whenever you like and you want get any errors!*/





It‘s quite in here! Why not leave a response?