# Button problem

**URL:** <https://forum.kirupa.com/t/button-problem/55604>\
**Category:** Uncategorized\
**Created:** [June 25, 2004, 4:52pm UTC](https://forum.kirupa.com/t/button-problem/55604 "2004-06-25T16:52:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artbeka](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@artbeka](https://forum.kirupa.com/u/artbeka)\
**Post date:** [June 25, 2004, 4:52pm UTC](https://forum.kirupa.com/t/button-problem/55604/1 "2004-06-25T16:52:37Z")

</div>

[size=1]i have button inside a movie clip and doesn’t load my movie,

here is the code

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

i’dlike this button to work inside movie clip  
Thank you and sorry for my english [/size]
