# loadMovie frame overlapping

**URL:** <https://forum.kirupa.com/t/loadmovie-frame-overlapping/159839>\
**Category:** flash\
**Created:** [August 20, 2005, 10:57pm UTC](https://forum.kirupa.com/t/loadmovie-frame-overlapping/159839 "2005-08-20T22:57:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rnwc400](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@rnwc400](https://forum.kirupa.com/u/rnwc400)\
**Post date:** [August 20, 2005, 10:57pm UTC](https://forum.kirupa.com/t/loadmovie-frame-overlapping/159839/1 "2005-08-20T22:57:26Z")

</div>

I have a loadMovie system that loads different frames by a press of different buttons. this works fine.

When I press btn1 = works fine,  
btn2 = works fine,  
btn3 = works fine.

If I try to go back to btn1, btn3 is on top of it. you can see that it’s there though.  
What am I doing wrong.

This is my code for the main.

test.loadMovie(“bar.swf”);  
////////////////////////////////////////////  
p1\_btn.onPress = function(){  
test.gotoAndStop(“f1”);  
var my\_sound = new Sound();  
my\_sound.attachSound(“poop”);  
my\_sound.start();

}  
p2\_btn.onPress = function(){  
test.gotoAndStop(“f2”);  
var my\_sound = new Sound();  
my\_sound.attachSound(“poop”);  
my\_sound.start();  
}  
p3\_btn.onPress = function(){  
test.gotoAndStop(“f3”);  
var my\_sound = new Sound();  
my\_sound.attachSound(“poop”);  
my\_sound.start();  
}
