# Easy: Loading into an empty MC

**URL:** <https://forum.kirupa.com/t/easy-loading-into-an-empty-mc/35328>\
**Category:** Uncategorized\
**Created:** [November 12, 2003, 7:50pm UTC](https://forum.kirupa.com/t/easy-loading-into-an-empty-mc/35328 "2003-11-12T19:50:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tiina](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@Tiina](https://forum.kirupa.com/u/Tiina)\
**Post date:** [November 12, 2003, 7:50pm UTC](https://forum.kirupa.com/t/easy-loading-into-an-empty-mc/35328/1 "2003-11-12T19:50:20Z")

</div>

Hi there,

what was the script for loading a movie into an empty MC when the main novie has finished loading?

/no on click event, just when movie finishes loading another movie loads upon the main movie/

🔗

---

<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:** [November 12, 2003, 7:53pm UTC](https://forum.kirupa.com/t/easy-loading-into-an-empty-mc/35328/2 "2003-11-12T19:53:13Z")

</div>

I suppose you can detect when the movie has finished loading using a preloader for example, then use this:

```auto

holder.loadMovie("yourswf.swf")

```

Where holder is the movieclip to load yourswf.swf into 🙂

---

<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:** [November 12, 2003, 8:04pm UTC](https://forum.kirupa.com/t/easy-loading-into-an-empty-mc/35328/3 "2003-11-12T20:04:50Z")

</div>

no its not working…i am doing something wrong…:sigh:  
could u please take a look at my file?

---

<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:** [November 12, 2003, 8:23pm UTC](https://forum.kirupa.com/t/easy-loading-into-an-empty-mc/35328/4 "2003-11-12T20:23:07Z")

</div>

You forgot to give the instance name holder, and you didn’t delete the onEnterFrame handler 🙂

---

<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:** [November 12, 2003, 8:31pm UTC](https://forum.kirupa.com/t/easy-loading-into-an-empty-mc/35328/5 "2003-11-12T20:31:16Z")

</div>

yep yep…:sure: Thx big time:love:

---

<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:** [November 12, 2003, 9:10pm UTC](https://forum.kirupa.com/t/easy-loading-into-an-empty-mc/35328/6 "2003-11-12T21:10:46Z")

</div>

You’re welcome =)
