Help with onClipEvent

I’m using a flash form and a php script to get messages from my web site.
I used the example from this site and I have a form movie clip in my main movie.
When I use loadVariables(“email.php”, “POST”); the script recieve the data and I recieve the message but! I have in the onClipEvent function a call to NextFrame() so the user will get a “Thank you screen” but it does not work :cross-eye it doesnt even get in this function (i’m doing a trace there that does not work at all)

Any ideas ?