3 Replies Latest reply on Nov 30, 2010 6:49 PM by Ned Murphy

    Can I trigger more than 1 function?

    Kumidan

      I need to trigger 4 different functions when I move the mouse poiter over a movieclip; do I need to use 4 listeners or can I use only one to call all the 4 functions?

       

      Now I do this

      movieclip.addEventListener(MouseEvent.MOUSE.OVER, function1);

      movieclip.addEventListener(MouseEvent.MOUSE.OVER, function2);

      movieclip.addEventListener(MouseEvent.MOUSE.OVER, function3);

      movieclip.addEventListener(MouseEvent.MOUSE.OVER, function4);

       

      Is this the only way?