# Loading movies from different levels

**URL:** https://forum.kirupa.com/t/loading-movies-from-different-levels/297427
**Category:** flash
**Created:** [October 1, 2009, 8:44pm UTC](https://forum.kirupa.com/t/loading-movies-from-different-levels/297427 "2009-10-01T20:44:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sannysmith](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@sannysmith](https://forum.kirupa.com/u/sannysmith)
#### Post date: [October 1, 2009, 8:44pm UTC](https://forum.kirupa.com/t/loading-movies-from-different-levels/297427/1 "2009-10-01T20:44:50Z")

</div>

Hi All,

I am creating a presentation which has a main flash and then 3 sub categories to it. Main.fla is nothing but a container to load the other movies into. I could get the the first movie (movie1.swf) to load onto **main.swf** by using the foll code:

this.createEmptyMovieClip(“empty\_mc”,1);  
empty\_mc.loadMovie(“movie1.swf”);  
empty\_mc.x=0;  
empty\_mc.y=0;

Now the problem is in movie1.swf the menu is like on the 3rd level, i.e. main stage\>menu\_mc\>menu (where the buttons are).

How can I add a code on level “menu” so that when I click button2 or button3 it loads movie2.swf and movie3.swf respectivley onto the main stage. Makes sense or am making it too confusing…

Can this be done???If there is a simpler way to do this then please please let me know. I want to try this breaking a big movie into smaller parts functionality so that I can understand flash more.
