onClipEvent(data) not working - please help!

I have a simple email form movie. The emails send fine and the user is taken to the “email sent” frame when the movie is played on it’s own. But when the movie is loaded into my main movie with the loadMovie command, the email sends but the user is not taken to the “email sent” frame. I’ve done some testing, and it’s because this piece of code is not working:


Why would this line not work when the movie is loaded into another?