0 Replies Latest reply on Apr 27, 2010 9:51 AM by Chris McLaughlin

    AS3 Mouse event listeners not working

    Chris McLaughlin Level 1



      I thought I'd share a recent discovery.  This may be well documented.  I don't know.


      I had some recent frustration with a movie clip instance for which mouse event listeners were not being triggered.  After a couple of hours of frustration, I discovered the following:


      1. At the very bottom of the script, there was an event listener and function for a movie clip that no longer existed
      2. If the aforementioned listener and function was placed below this (i.e. on a higher number line in the script) it didn't function
      3. If it was above this, everything was groovy.
      4. Of course, getting rid of the listener and function for the movie clip instance that no longer existed also solved the probelm


      Hope this helps someone.