10 Replies Latest reply on Aug 5, 2010 4:22 PM by Ned Murphy

    need to know what code to insert to loop my slideshow

    spooonynick Level 1

      hello there, i need some help on this topic,

       

      i have a slidehsow and my code is as follows

       

      "waitSec = 5;
      setInterval(Timer, waitSec*500);
      //
      function Timer() {
      gotoAndPlay(nextFrame());
      }
      stop();
      "

       

      it has 5 frames as i have 4 pictures in my slideshow.

       

      but i need to loop it so it can go back to frame 1 in my slideshow after frame 4

       

      also when i click on a button on my slideshow it will go to that image but then instantly go to the nexct image and then carry on as normal why ndoes it do that?

       

      can you help me thank you