6 Replies Latest reply on May 11, 2009 10:11 PM by kglad

    Stuttering rollover

    rmarshal

      Hi,

       

      I have a button made out of a movie clip....it animates out and back in slow like I want it, but when I test it in flash or any browser it works good if you move your mouse very slowly over it but after a few time start flickering very fast and it stutters after moving the mouse over it to fast then it eventually stays in the scaled state and when rolling the mouse back over it it goes to the original size(I have it set to when the rollover happens it scales out to a larger size and when the rollout happens it goes back to the normal size).

       

      heres the script i'm using:

       

      function rover(e:Event){
          myBtn.gotoAndPlay("in");
      }

       

      myBtn.addEventListener (MouseEvent.MOUSE_OVER, rover);

       

      function rout(e:Event){
          myBtn.gotoAndPlay("out");
      }

       

      myBtn.addEventListener (MouseEvent.MOUSE_OUT, rout);

       

      Can someone please help me to figure this out?

       

      Thank you,

       

      Ron