# Is it some thing wrong on the script?

**URL:** <https://forum.kirupa.com/t/is-it-some-thing-wrong-on-the-script/220707>\
**Category:** flash\
**Created:** [March 28, 2007, 3:39pm UTC](https://forum.kirupa.com/t/is-it-some-thing-wrong-on-the-script/220707 "2007-03-28T15:39:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![austinkyo](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@austinkyo](https://forum.kirupa.com/u/austinkyo)\
**Post date:** [March 28, 2007, 3:39pm UTC](https://forum.kirupa.com/t/is-it-some-thing-wrong-on-the-script/220707/1 "2007-03-28T15:39:16Z")

</div>

Hi guys, could any 1 tell me what is going wrong with the script below?  
it works fine when i apply it on Button Symbols. But when i apply it on Movie clips symbols that i use as button, it failed to work as i expected.

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

Should i change some thing to make it work on Movie clips symbol??
