# Problems with paths and levels

**URL:** <https://forum.kirupa.com/t/problems-with-paths-and-levels/157468>\
**Category:** Uncategorized\
**Created:** [August 2, 2005, 7:34am UTC](https://forum.kirupa.com/t/problems-with-paths-and-levels/157468 "2005-08-02T07:34:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unstable](https://avatars.discourse-cdn.com/v4/letter/u/65b543/32.png) [@unstable](https://forum.kirupa.com/u/unstable)\
**Post date:** [August 2, 2005, 7:34am UTC](https://forum.kirupa.com/t/problems-with-paths-and-levels/157468/1 "2005-08-02T07:34:27Z")

</div>

I have an easy problem I am just new to flash and actionscripting. I used the tutorial [http://www.kirupa.com/developer/mx2004/transitions.htm](http://www.kirupa.com/developer/mx2004/transitions.htm) to load external movies. However my buttons are not in the root level. They are nested in a movie clip that is one deep. So this code. . .

on (release) {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “main”;  
container.loadMovie(“main.swf”);  
} else if (\_root.currMovie != “main”) {  
if (container.\_currentframe \>= container.midframe) {  
\_root.currMovie = “main”;  
container.play();  
}  
}  
}

does not work. I am used to html and javascript and can’t figure out how to correct this. Any help would be appreciated!!!
