1 Reply Latest reply on Jan 23, 2008 5:45 AM by niki tsanov

    GoTo and Pause?

      Hi guys

      Can anyone tell me how to change this script so instead of gotoAndStop on frame label 2, it pauses for 5 seconds on frame label 2 and then the animation continues to play?

      on (release) {
      gotoAndStop ("2") ;

        • 1. GoTo and Pause?
          niki tsanov Level 1
          you can use setTimeout to call some function after 5 seconds and the function continue the movie.
          Here some example - 3 is the next frame for play. I forgot to add you must put this code into the frame that stop the movie and setTimeout call the function once then auto remove the setTimout you dont need to clear the timeout.