# The order of scripts when you duplicate a movie clip

**URL:** <https://forum.kirupa.com/t/the-order-of-scripts-when-you-duplicate-a-movie-clip/129181>\
**Category:** Uncategorized\
**Created:** [November 20, 2004, 3:17pm UTC](https://forum.kirupa.com/t/the-order-of-scripts-when-you-duplicate-a-movie-clip/129181 "2004-11-20T15:17:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daveistheword](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@daveistheword](https://forum.kirupa.com/u/daveistheword)\
**Post date:** [November 20, 2004, 3:17pm UTC](https://forum.kirupa.com/t/the-order-of-scripts-when-you-duplicate-a-movie-clip/129181/1 "2004-11-20T15:17:02Z")

</div>

When I duplicate a movie clip, it seems like I can’t immediately call its functions. Also, it seems like any variables that I set immediately after that will be overwritten if they are defined in Frame 1 of the duplicated clip. What is the order of events when you duplicate (or create) a movieclip, and is there any way to get around this, say by waiting until the new clip loads and runs its frame1 script?

Thanks a lot!
