# Trying to externally load from a movie clip

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