A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: A delay before next movie clip ??

  1. #1
    Senior Member
    Join Date
    Oct 2000
    Posts
    302
    Hello,

    I am looking to use actionscript to create a delay of 1 min before the movie goes to the next frame. Can anyone give me any ideas?

    Aaron

  2. #2
    Junior Member
    Join Date
    Jun 2001
    Posts
    26
    Hi.

    Perhaps like this (if it doesn't depend on a second):
    (but you have to use two frames!!)

    script in first frame:

    if (n==0) {
    gotoAndPlay (the frame you want to jump to);
    } else {
    n -=1;
    }

    in the next frame you just have to

    gotoAndPlay (the frame number with the "if");


    n has to be calculated and set some frames before like

    n = framespersecondofyourmovie * 30
    (just calculate it in your head and write n = 600; for example)

    that's it, good luck!

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