A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Loop ActionScripting Help!

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    23

    Loop ActionScripting Help!

    Hi, I am making a movie clip and am putting about 5 differnt symbols into the clip on a different frame. Is there an actionscript command that will do the following: Stay on frame 1 for about 10 seconds, then play frames 2-5, then go back to frame 1. And repeat it all over again. I really appreciate your help and time. Thanks
    --CaSpiRE

  2. #2
    Junior Member
    Join Date
    Mar 2001
    Posts
    23

    EUREKA!

    I got it...I pasted this in my frame that I wanted Paused. I should make a tutorial out of this.

    function playAgain() {
    clearInterval(repeat);
    gotoAndPlay(1);
    }
    //
    repeat = setInterval(playAgain, 10000);
    stop();

    --CaSpiRE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center