A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: stoping a loop

  1. #1
    Junior Member
    Join Date
    Oct 2000
    Posts
    18
    i want to loop a banner for say 3 times,then stop on a specific frame.any help would be great.thanx.

  2. #2
    Hack
    Join Date
    Mar 2000
    Location
    Madison, WI
    Posts
    1,753
    Put on last frame:

    x++;
    if (x<3) {
    gotoAndPlay(1);
    } else {
    gotoAndStop(10);
    }

    That would play a movie three times and then goto and stop on frame 10 of the movie.

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