# Desparate for Help with Flash form actionscript

**URL:** https://forum.kirupa.com/t/desparate-for-help-with-flash-form-actionscript/156142
**Category:** flash
**Created:** [July 22, 2005, 10:27pm UTC](https://forum.kirupa.com/t/desparate-for-help-with-flash-form-actionscript/156142 "2005-07-22T22:27:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Jonrhys](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jonrhys](https://forum.kirupa.com/u/Jonrhys)
#### Post date: [July 22, 2005, 10:27pm UTC](https://forum.kirupa.com/t/desparate-for-help-with-flash-form-actionscript/156142/1 "2005-07-22T22:27:29Z")

</div>

HI everyone,

Just wandering if someone can help on this extremely frustrating problem.

I have a main timeline with a blank movie in it so that I can click the menu and various swf’s load into it. This all works perfectly. Then, I have a contacts page with a form that sends to php which all works perfectly. The thing that doesn’t work is that when I click submit the thank you frame immediately afterwards doesn’t play. The code I’ve typed is:  
\*\*  
On the Submit Button:\*\*

on (release) {  
form.loadVariables(“email.php”, “POST”);  
}

**On the movie clip:**

onClipEvent(data){  
\_root.nextFrame();  
}

This all works fine in Publish preview but once uploaded to the servers it fails unless you type [[color=#606420]www.ljmedia.co.uk/contact.swf[/color]](http://www.ljmedia.co.uk/contact.swf) then it works fine. Is this something to do with layers and levels etc? I’ve asked so many people but still not solved.

I would appreciate any help whatsoever.

Thanks, Jon
