# Loading movies into target: Flash MX

**URL:** <https://forum.kirupa.com/t/loading-movies-into-target-flash-mx/95766>\
**Category:** Uncategorized\
**Created:** [November 30, 2003, 2:23pm UTC](https://forum.kirupa.com/t/loading-movies-into-target-flash-mx/95766 "2003-11-30T14:23:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harte](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@Harte](https://forum.kirupa.com/u/Harte)\
**Post date:** [November 30, 2003, 2:23pm UTC](https://forum.kirupa.com/t/loading-movies-into-target-flash-mx/95766/1 "2003-11-30T14:23:02Z")

</div>

Newbie here thanks for patience.

I am trying to load a movie into a container as described in this tutorial [http://www.kirupa.com/developer/mx/loading.htm](http://www.kirupa.com/developer/mx/loading.htm) for flash mx…

It works fine when everything is on the main timeline and scene… however I have created a roll over menu movie that the button needs to reside on and from this scene it will not start the movie.

as described in the turotial I created a button with the instance name “but” although this button now resides within a movie not on the main scene.

and on a layer in the main scene named code I entered this syntax

but.onPress = function () {  
\_root.createEmptyMovieClip(“container”, 1);  
loadMovie(“germanshow.swf”, “container”);  
container.\_x = 150 ;  
container.\_y = 20 ;  
}

How do I alter this syntax to make the button work from my rollover menu movie.
