Hi,
I've got a function that is called when a listener listens an event like:
fancyButton.addEventListener(MouseEvent.CLICK, myFunction);
private function myFunction(e:MouseEvent):void {
// statements...
}
If I try to call myFunction using myFunction() , the compiler throws me an
error, saying that the function expects an argument. At this point how
should I call this function without dispatching the MouseEvent Event??
Thanks
--
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders