A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Looping a movie with differint action script

  1. #1
    Junior Member
    Join Date
    Feb 2002
    Posts
    6
    How do you loop a flash movie, and when it plys the seconed time around, to add a new action script variable. Example: Play the same 100 frame movie twice, but when it is playing the sconed time, tell it at frame 50 to jump to another movie/frame. And do that, without having the jump the first time through.
    Thanks! J.J. MANCINI

  2. #2
    psx = new Moderator();
    Join Date
    Jan 2001
    Posts
    923
    Try this:
    on frame 50 put this code:

    if (i>0) {
    gotoAndPlay(x);
    i=1;
    }

    That way, the first time around, i won't exist, but on the second time around, it will, causing the movie to go where you want it to.

    Psx

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