Is it some thing wrong on the script?

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??