# How to script to play a MC followed by another MC etc etc

**URL:** <https://forum.kirupa.com/t/how-to-script-to-play-a-mc-followed-by-another-mc-etc-etc/305258>\
**Category:** flash\
**Created:** [February 22, 2010, 2:13pm UTC](https://forum.kirupa.com/t/how-to-script-to-play-a-mc-followed-by-another-mc-etc-etc/305258 "2010-02-22T14:13:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cAPS\_lOCK](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@cAPS\_lOCK](https://forum.kirupa.com/u/cAPS_lOCK)\
**Post date:** [February 22, 2010, 2:13pm UTC](https://forum.kirupa.com/t/how-to-script-to-play-a-mc-followed-by-another-mc-etc-etc/305258/1 "2010-02-22T14:13:47Z")

</div>

So I’m making a long 4-5 minute animation. I tried one of these before but had everything on the main timeline and it got out of hand being 10,000 frames long. Eddits kept coming in and changing it was a huge hassle.

This time I want to keep the main timeline clear and have it instead load in short movieclips in succession to make up the long movie. I think it will be much easier to edit the “parts” in the movieclips and rearrange if needed.

The thing I can’t figure out is how can I script (AS3) so that to tell it when one movieclip ends, play this one…when that one ends, play this one. I’m guessing I might have 20-30 movieclips.

Thanks!!
