I made a MC and put it on the main scene. The MC has its length of about 200 frame. I want it to play 10 times [loop!] on the main scene before jumping to the next scene. It is pretty easy if I add frame to the MC, but imagine its total length. I think the script is the best bet. Please let me know how to write script to make this happen. Should the script be put on the scene or in the MC and I do not know which one suits this requirement best.
in the last frame of your clip (has 2 b a keyframe), put actions s’thing like this (do not copy/paste this, incorrect scripting!): counter
if (counter<10){gotoAndPlay (1);}else{_root.play;}//sends the clip back to 1st frame if counter isn’t up to 10, or makes the main timeline play if it is
On 1st frame of clip: counter++; //adds 1 to counter every time this frame is played…there’s other ways, you get the basic idea of using a flag/counter which you increment every time the clip is played, and check before playing it again…?
man those MX scripting shortcuts are confusing… what’s the “?” do exactly?
For the record… “So confused” is a great name… you should try to register that with Ezboard… it’s kind of like the Quake III player who has the name “Shoot at me”