This content has been marked as final. Show 5 replies
I would make an empty movie clip and load your first movie into that clip. At the end of the timeline for that movie clip, add a key frame with some actionscript that loads the next movie clip into the same movie clip and repeat the same for the other clips.
Actionscript to create empty mc and attach movie from library with name chapter1:
holderMc.attachMovie("chapter1", ch1, 1001);
Actionscript to put in movie clip presentation at end of timeline:
_root.holderMc.attachMovie("chapter2", ch2, 1001);
Of course your MC instance names may vary, but you can you something similar to this code...
There are many ways you can go about doing this, but I'm asuming that you have you movie clips loading from your library, not as external SWFs, correct? Hope this helps...
Thanks DLMAES, i'll give that a go, I will have to load external swf files into the same presentation aswell, whats the best way to do that?
You're welcome, your actionscript to load and external swf should look something like this:
If it is linear playing, you can also create scenes and put each clip on its scene's main timeline. By default flash plays scenes following numbers scene1, then scene2, then....scene X.
Your first solution would work if on main timeline you extend frames for the duration of each clip. Say clip1's lenght is 210 frame, clip2 is 300 frames, and clipX is X frames. On root create three blank keyframes: one at frame1, the second on frame 211, the third at frame 512 (label the keyframes accordingly) then simply put each clip on the keyframe were it should appear.
Scenes are better than having one long main timeline though.
That is true evrardBlom... thanks for your insight!