dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Looping a movie clip...

  1. #1
    Senior Member
    Join Date
    Oct 2000
    Posts
    184
    Hi Guys,

    OK call me stupid but I can't get an animated logo (movie clip) to play from start to finish - say 5 times - before processing a geturl instruction which loads the frameset.

    I have the Visual Quickpro guide (which is generally very good) but can't find the right code to make this loop. What I don't understand is if I set my loop to start at 0 and increment it by 1 each time the clip plays where does the actionscript go- as each time the initialise bit is called it resets to 0...

    Can anyone help me with a simple answer to my problem? What I need is the actionscript to count 5 MC cycles and then get my frameset html page. The MC loops seamlessly with a gotoandplay frame1 action in the last frame.

    Thanks in advance and big up to anyone who can help me...

  2. #2
    Welcome to flavour country
    Join Date
    Sep 2000
    Posts
    662
    Put this code on the last frame of your mc:

    x++;
    if(x==5){
    add your getUrl code here
    }

  3. #3
    Senior Member
    Join Date
    Oct 2000
    Posts
    184

    Thanx mate...

    Thanx mate... 1972 was a good year... I was born in July...

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