5 Replies Latest reply on Feb 4, 2009 9:17 AM by Gregory Lafrance

    How to send the Event Listener arguments in AS3?

      In MXML

      <mx:Button click="clickHandler();" mouseDown="downHandler(event);" mouseOver="overHandler(btn);" mouseMove="moveHandler('RAJAN');"/>

      but AS3

      var btn:Button = new Button();

      btn.addEventListener(MouseEvent.CLICK, clickHandler, flase, 0, true);

      only this kind of AS3 event only added, any other possibility to pass the arguments to handler function.

      please help.