Can't get Flash Email form to work

I’ve been doing the Flash email form tutorial…http://www.kirupa.com/developer/actionscript/flash_php_email.htm

…and I can get it to send and email to me but the page doesn’t change after it has sent. I’ve been at it for ages trying different things but I can’t get it to work. I’ve also just realised that the one on the tutorial doesn’t work either!

I think the problem lies here…

[SIZE=2][SIZE=2][COLOR=black]onClipEvent(data){

_root.nextFrame();

}
[/COLOR][/SIZE][/SIZE]
I tryed putting a gotoAndPlay when you click the send button but I think this makes it change before it has a chance to send the vars, plus it’d be nice to know the data had been sent.

Any ideas / help would be much appreciated!

Cheers

Sean

P.S i’m using flash mx 2004