4 Replies Latest reply on Oct 21, 2011 7:32 AM by Ned Murphy

    Following MouseCursor while MouseOver


      I've created a button and a movieclip. The movieclip should follow the cursor while mousover the button.

      How can I tell the movieclip to follow the cursor the entire time while Iam mouseover the button? Now it seems that the movieclip just follows once I've leaved and entered the button, but it should follow the entire time Iam mouseover the button.


      tooltip.visible = false;


      button.addEventListener(MouseEvent.MOUSE_OVER, fl_MouseOverHandler);


      function fl_MouseOverHandler(event:MouseEvent):void


          tooltip.visible = true;

          tooltip.x = mouseX;

          tooltip.y = mouseY;