3 Replies Latest reply on Sep 21, 2007 6:30 AM by kglad

    [AS3] multi listener on one event

    Level 7
      Hi,

      is there a simple way to add multiple functions/listeners on one event?

      Like, if I try this:

      mc2.addEventListener(MouseEvent.CLICK,mouseClick_handler);
      mc2.addEventListener(MouseEvent.CLICK,mouseClick_handler2);

      only the first function seems to be called. But I want both to be executed.


      TIA