Button linkage problem

Problem: cannot get the script to open an external swf into a MC (named “container”) that is located on the main timeline

Desc: MC “container” is located on main timeline… button is housed within MC “clipAbout” which is located on main timeline

on (release) { 
if (_root.currMovie == undefined) { 
_root.currMovie = "pages/about"; 
_root.container.loadMovie("pages/about.swf"); 
} 
else if (_root.currMovie != "pages/about") { 
if (_root.container._currentframe >= _root.container.midframe) { 
_root.currMovie = "pages/about"; 
_root.container.play(); 
} 
} 
}