4 Replies Latest reply on Jun 5, 2006 1:42 PM by Newsgroup_User

    Really Simple Pause

    jmedley
      Hi

      I am creating a very simple self running slideshow type of movie but I need to pause on a frame for 20 seconds.

      Can one of you wise and knowledgeable people give me some simple instructions on how to do that or is the only way to add in 240 frames of the same content?
        • 1. Re: Really Simple Pause
          Level 7
          jmedley,

          > I am creating a very simple self running slideshow
          > type of movie but I need to pause on a frame for
          > 20 seconds.

          That depends on your frame rate, of course. If your frame rate is 12,
          then 20 seconds would require 240 frames of "in limbo" content.

          > Can one of you wise and knowledgeable people
          > give me some simple instructions on how to do that
          > or is the only way to add in 240 frames of the same
          > content?

          Ah! Cool ... you already understand the concept. The "add frames"
          approach is all right for small, infrequent pauses, but even in those cases,
          you're out of luck if you change your frame rate.

          There is another way. You can use a timer according to the following
          article ...

          http://www.quip.net/blog/2006/flash/how-to-pause-timeline


          David
          stiller (at) quip (dot) net
          Dev essays: http://www.quip.net/blog/
          "Luck is the residue of good design."


          • 2. Re: Really Simple Pause
            Wolf_van_Ween Level 1
            Really easy, throw the attached code into the actionscript panel of the frame you want to pause on. Pretty much self-explaining I think.
            Good luck
            Wolf
            • 3. Re: Really Simple Pause
              blemmo Level 1
              That's the way to do it, but I think it's necessary to delete the interval afterwards, otherwise it keeps running and might mess up the presentation.

              stop();
              var intervalID = setInterval(startIt,20000);
              function startIt():Void {
              clearInterval(intervalID);
              play();
              }

              cheers,
              blemmo
              • 4. Re: Really Simple Pause
                jmedley Level 1
                Perfect!!!

                Thank you both so much.

                I used to be able to do this so easily in Director and am now trying Flash (after all it is so new... LOL)

                John