# Opening external swfs into main movie

**URL:** <https://forum.kirupa.com/t/opening-external-swfs-into-main-movie/93955>\
**Category:** Uncategorized\
**Created:** [November 6, 2003, 6:22pm UTC](https://forum.kirupa.com/t/opening-external-swfs-into-main-movie/93955 "2003-11-06T18:22:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixiesparkles13](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@pixiesparkles13](https://forum.kirupa.com/u/pixiesparkles13)\
**Post date:** [November 6, 2003, 6:22pm UTC](https://forum.kirupa.com/t/opening-external-swfs-into-main-movie/93955/1 "2003-11-06T18:22:46Z")

</div>

Hi

I have done searches… and either I am just braindead today, or I am not finding the answer.

Anyway, I have a main.swf with a menu that is its own mc.  
(It needs to pop up when the menu button is clicked), from this menu I need external swfs to open  
inside my main.swf.  
I also want my external swfs to play in order.  
like mod\_1.swf plays and then opens mod\_2.swf ect.

(the menu is just for the user to jump around)

So I have started with this code…  
on the main timeline(Scene) I have a target code

\_root.createEmptyMovieClip(“container”,1);  
container.\_x = 0  
container.\_y = 0

then within my menu mc I have

m1\_btn.onpress = function() {  
loadMovie (“mod\_1.swf”, “container”);  
container.\_x = 400  
container.\_y = 300  
};

-and I do have a container mc in my library-

but, its not working… :-\

I would truely appreciate any advice.  
Thanks
