# Trying to externally load from a movie clip

**URL:** <https://forum.kirupa.com/t/trying-to-externally-load-from-a-movie-clip/41991>\
**Category:** Uncategorized\
**Created:** [February 4, 2004, 12:33am UTC](https://forum.kirupa.com/t/trying-to-externally-load-from-a-movie-clip/41991 "2004-02-04T00:33:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slowpoke2](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Slowpoke2](https://forum.kirupa.com/u/Slowpoke2)\
**Post date:** [February 4, 2004, 12:33am UTC](https://forum.kirupa.com/t/trying-to-externally-load-from-a-movie-clip/41991/1 "2004-02-04T00:33:04Z")

</div>

Hi ok so I am trying to externally load a SWF from a movie clip and load the swf on the main timeline.

So basically it goes timeline \>\> MC \>\> Button and when they click the button it should load the swf on the main timeline.

This is the code that i am using (from kirupas tut)

but.onLoad = function () {  
\_root.createEmptyMovieClip(“container”, 1);  
\_alpha.but = 0;  
}  
but.onPress = function () {  
\_root.createEmptyMovieClip(“container”, 1);  
loadMovie(“iface1.swf”, “container”);  
container.\_x = 25;  
container.\_y = 141 ;  
}

Can anyone help?

Thanks.

---

<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:** [February 4, 2004, 8:22am UTC](https://forum.kirupa.com/t/trying-to-externally-load-from-a-movie-clip/41991/2 "2004-02-04T08:22:14Z")

</div>

maybe  
[AS]  
but.onPress = function () {  
container = \_root.createEmptyMovieClip(“container”, 1);  
container.loadMovie(“iface1.swf”);  
container.\_x = 25;  
container.\_y = 141;  
}  
[/AS]

---

<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:** [February 5, 2004, 3:46am UTC](https://forum.kirupa.com/t/trying-to-externally-load-from-a-movie-clip/41991/3 "2004-02-05T03:46:05Z")

</div>

Still didnt work…Does anyone else have any ideas?

Again its a button inside a movie clip that needs externally load on the main movie clip…over it.

Please help, hope i was clear.

Mucho Love

Aaron

---

<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:** [February 5, 2004, 9:18am UTC](https://forum.kirupa.com/t/trying-to-externally-load-from-a-movie-clip/41991/4 "2004-02-05T09:18:19Z")

</div>

ok. here ya go.  
attaching the .fla (mx-format)
