3 Replies Latest reply on Nov 13, 2012 7:05 AM by Ned Murphy

    Pausing Flash Player

    Kat1585

      Hi There,

       

      I have a flash player of five frames. Right now the plyer transitions between the five frames and loops. I would like player to stop when the mouse is over the entire player.

       

      This is the code I have to make the player transition between the frames.

       

      Frame 1

       

      stop();

      clearInterval(myTimer);

      myTimer = setInterval( function(){ gotoAndPlay(2);}, 10000 );

       

       

      Frame 2

       

      stop();

      clearInterval(myTimer);

      myTimer = setInterval( function(){ gotoAndPlay(3);}, 10000);

       

      Frame 3

       

      stop();

      clearInterval(myTimer);

      myTimer = setInterval( function(){ gotoAndPlay(4);}, 10000 );

       

      Frame 4

       

      stop();

      clearInterval(myTimer);

      myTimer = setInterval( function(){ gotoAndPlay(5);}, 10000 );

       

       

      Frame 5

       

      stop();

      clearInterval(myTimer);

      myTimer = setInterval( function(){ gotoAndPlay(1);}, 10000 );

       

       

       

      Thanks, any help is appreciated. I am running CS4

       

      [unrelated link removed]

       

       

      - Katie