# Movie clips

**URL:** <https://forum.kirupa.com/t/movie-clips/6334>\
**Category:** Uncategorized\
**Created:** [October 4, 2002, 1:18pm UTC](https://forum.kirupa.com/t/movie-clips/6334 "2002-10-04T13:18:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brockus](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@brockus](https://forum.kirupa.com/u/brockus)\
**Post date:** [October 4, 2002, 1:18pm UTC](https://forum.kirupa.com/t/movie-clips/6334/1 "2002-10-04T13:18:57Z")

</div>

Hello,  
Just wondering if there is some Action Script that will hold my playhead in the maintime line until a movieclip has played through in its entirety?

something like a \_framesplayed evaluation.

Thanks so much…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 4, 2002, 6:29pm UTC](https://forum.kirupa.com/t/movie-clips/6334/2 "2002-10-04T18:29:27Z")

</div>

Try this …

Assuming that your MC is one step removed from the main timeline (i.e. that the path to your MC is \_root.MCinstanceName)

Put this AS in the first frame of your MC  
\_parent.stop();

Put this AS in the last frame of your MC  
\_parent.play();

(There is a retrievable property \_currentFrame if you want to go that route - but the above might be handier)
