Help with contact forum

Hello,

I have a question: I am trying to use the form that I found on this site (http://www.kirupa.com/developer/actionscript/flash_php_email.htm).

It works great! However, I do have one issue. I need to have this form inside a .swf file that is dynamically loaded into another movie. I have one movie (index.swf) that is the site itself. When someone presses “Contact,” it loads the movie with the form inside it (contact.swf). Now, the form works fine, except that I cannot find a way to make it advance to frame 2. The onClipEvent seems to be looking for data in the wrong place, and I can’t figure out how to point it.

This is the code: [SIZE=2][SIZE=2][COLOR=black]onClipEvent(data){ _root.nextFrame();}Thank you so much for your help!
[/COLOR][/SIZE][/SIZE]