4 Replies Latest reply on Mar 6, 2010 11:28 AM by Ned Murphy

    getting jumpy movement on MOUSE_OVER and MOUSE_OUT

    mojogar-rWvYQh Level 1

      if you go to my intro page mojogar.com, and hover on the cards, the card movement gets jumpy while still hovering in certain spots on the each card.  Each card is a symbol on the stage and is controlled by the following AS3.

       

      animationMainPage.addEventListener(MouseEvent.MOUSE_OVER, animGo);
      animationMainPage.addEventListener(MouseEvent.MOUSE_OUT, animOut);

      supportMainPage.addEventListener(MouseEvent.MOUSE_OVER, supportGo);
      supportMainPage.addEventListener(MouseEvent.MOUSE_OUT, supportOut);

      designMainPage.addEventListener(MouseEvent.MOUSE_OVER, designGo);
      designMainPage.addEventListener(MouseEvent.MOUSE_OUT, designOut);

      function animGo(event:MouseEvent):void {
      gotoAndPlay(29);
      }

      function animOut(event:MouseEvent):void {
      gotoAndPlay(38);
      }


      function supportGo(event:MouseEvent):void {
      gotoAndPlay(61);
      }

      function supportOut(event:MouseEvent):void {
      gotoAndPlay(70);
      }


      function designGo(event:MouseEvent):void {
      gotoAndPlay(45);
      }

      function designOut(event:MouseEvent):void {
      gotoAndPlay(54);
      }

       

      any explanation on the jumpyness?

      thanks.