# Loading movies from sub menu

**URL:** https://forum.kirupa.com/t/loading-movies-from-sub-menu/207179
**Category:** Uncategorized
**Created:** [November 15, 2006, 10:53am UTC](https://forum.kirupa.com/t/loading-movies-from-sub-menu/207179 "2006-11-15T10:53:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pixelldoll](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@pixelldoll](https://forum.kirupa.com/u/pixelldoll)
#### Post date: [November 15, 2006, 10:53am UTC](https://forum.kirupa.com/t/loading-movies-from-sub-menu/207179/1 "2006-11-15T10:53:13Z")

</div>

Hi I’m having problems loading movies from a sub menu.  
Basically I have a primary navigation and secondary or nested menu  
on one menu item. The following load movie script works fine on the primary menu on the root:

about\_mc.onRelease = function() {  
createEmptyMovieClip(“container2”, 1);  
loadMovie(“about2.swf”, “container2”);  
container2.\_x = 0;  
container2.\_y = 0;  
};

However I’m using the following script on the nested menu item and it refuses to work:

on (release) {  
\_parent.createEmptyMovieClip(“container”, 1);  
loadMovie(“about.swf”, “container”);  
container.\_x = 0;  
container.\_y = 0;  
}

I don’t think its a targeting issue as I have tested it with other functions and it works I just think there might be a issue withe container name or something.  
Has anyone got an idea or solution :h:
