1 Reply Latest reply on Apr 16, 2007 5:15 PM by "B"

    Help With MC Following Cursor

    NickTheNameless Level 1
      Here's the AS I'm using....
      myInterval = setInterval (moveMask,50);

      function moveMask () {
      MYmovieClip._x -= (FMipodGenInfoServStrat._x - _xmouse)/2;
      MYmovieClip._y -= (FMipodGenInfoServStrat._y - _ymouse)/2;

      This makes the clip follow the cursor at the desired speed. I need to take this effect one step further and have the clip appear (and follow the mouse cursor) as part of the over state of a button. I only want this clip to show up when the cursor is over a button, and for that clip to follow the cursor while it is showing.

      Any help is much appreciated.