1 Reply Latest reply on Jul 31, 2009 8:48 PM by Michael Borbor

    addeventlistener via button click ?

    phil1943 Level 1

      Hello, is it possible to add an eventlistener via a button click ?

       

      eg.

      <mx:Button  click="myObejct.addEventListener(MouseEvent.CLICK, myFunction(event))"/>

       

      This does not work for me, but I think it should be possible with a bit of fine-tuning ?

       

      thanks for any help.