Going back to the parent swf

I currently have a main swf that in the first frame calls and external swf. On this external swf there is an “agree” to terms button. when that is clicked i need to go to frame 2 of the parent swf.

this is the code i have attached to the button:

agree.onPress = function() {
_level0.gotoAndPlay(2);
};

its not working… the external movie goes away… but im left with just the background of the parent. Any ideas?

thanks