2 Replies Latest reply on Mar 16, 2010 12:17 AM by hidarikani

    mouseMove event

    hidarikani Level 2

      I have implemented a mouseMove event handler. Simplified code:

       

      if (event.stageX = 200)
           Alert.show('Intersection!');
      

       

      Sometimes when I move my mouse quickly the event doesn't fire. How do I fix this?

       

      How often is mouseMove fired? Can it be fired after every move by one pixel? Is adding a for loop to the mouseMove event handler very unefficient?