4 Replies Latest reply on Jun 22, 2009 3:57 AM by apmyhr

    I need to read MouseMove event while dragging a component


      I have a MousDown event for my component which does the following,


      public function MouseDownHandler(event:MouseEvent):void {

           systemManager.addEventListener(MouseEvent.Mouse_Up, MouseUpHandler);

           systemManager.addEventListener(MouseEvent.Mouse_Move, MouseMoveHandler);


           // Do Stuff //


           function MouseMoveHandler(event:MouseEvent):void {

                // Do Stuff //



           function MouseUpHandler(event:MouseEvent):void {

                //Do Stuff//





      The MouseUpHandler function is executed fine and that all works.  I added a breakpoint to the MouseMoveHandler, and I see that the program never reaches it.  It almost seems as if MouseMove events cannot be dispatched during a drag.  Any suggestions?