Form mailer not working when loaded into movie clip

I followed this tutorial for a form mailer http://www.kirupa.com/developer/actionscript/flash_php_email.htm and it works great. However when I try to load this from my main swf into a movie clip holder, it no longer works. It only wants to work by itself, im a novice at flash/actionscript but im wondering if this is causing the problem by trying to get to the root of my main movie instead of the actual mailer.swf?

[size=2][size=2][color=black]onClipEvent(data){
_root.nextFrame();
}

[/color][/size][/size]