Search  

MULTIPLE MOVIE CLIPS ON STAGE

HomeForumsFlash DiscussionMultiple Movie clips on stage
11294 kellymarie2001
23 posts
Bought between 1 and 9 items

Stupid question no doubt, but I have quite a few movie clips that each last between 200 and 300 frames each. I have them set up on different layers on my stage, but I want them to play through one movie clip, then play the second movie clip, then the third, etc. It’s basically a slideshow of products.

I thought at first the simplest way to do it is to layer the movie clips and allow the 200-300 frames on my stage, but this seems unnecessary and I’m sure there’s a better way!

Thanks!

PS Did I mention how much I LOVE flashden.net?

Posted 8 months ago
25366 triworks
251 posts
Exclusive author Item was featured Author was featured Referred at least one person Sold between 100 000 and 250 000 dollars Bought between 1 and 9 items

Hi kellymarie2001;

Most flash developers use AS2 or AS3 to code events. Maybe you should … code everything. A faster solution to your problem might be creating a function to call your second movie Clip in the last frame of the first and another one to call the third in the last frame of the second one. :) Does this make sense to you?

Posted 8 months ago
11294 kellymarie2001
23 posts
Bought between 1 and 9 items
Hi kellymarie2001;

Most flash developers use AS2 or AS3 to code events. Maybe you should … code everything. A faster solution to your problem might be creating a function to call your second movie Clip in the last frame of the first and another one to call the third in the last frame of the second one. :) Does this make sense to you?

Yes – makes perfect sense! The only problem is I haven’t gotten past the first chapter of my new AS2 book. Would it end up being incredibly complicated to write such a code? I’m wondering if there is one out there that already exists!

Thanks!

Posted 8 months ago
16450 Fougie
282 posts
Exclusive author Author was featured Referred at least one person Sold between 5 000 and 10 000 dollars Bought between 1 and 9 items

Here’s a quick idea. Put a:

stop();

On the frame that your movie clip is in. And then inside that movie clip, on the very last frame put:

_parent.gotoAndPlay(_parent._currentframe + 1);

That will start the timeline above the movie clip.

Posted 8 months ago
11294 kellymarie2001
23 posts
Bought between 1 and 9 items
Here’s a quick idea. Put a:

stop();

On the frame that your movie clip is in. And then inside that movie clip, on the very last frame put:

_parent.gotoAndPlay(_parent._currentframe + 1);

That will start the timeline above the movie clip.

Is it the same for every movie clip?

If I place the movie clip in frame one, layer 1 of my stage, then another movie on layer 2, will they play consecutively?

Posted 8 months ago