# Flash/PHP Mail Form Problem

**URL:** <https://forum.kirupa.com/t/flash-php-mail-form-problem/231088>\
**Category:** flash\
**Created:** [July 2, 2007, 4:53am UTC](https://forum.kirupa.com/t/flash-php-mail-form-problem/231088 "2007-07-02T04:53:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimonay](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@dimonay](https://forum.kirupa.com/u/dimonay)\
**Post date:** [July 2, 2007, 4:53am UTC](https://forum.kirupa.com/t/flash-php-mail-form-problem/231088/1 "2007-07-02T04:53:37Z")

</div>

Hey guys,

I used the tutorial on [kirupa.com](http://kirupa.com) on making a Flash/PHP mail form, and the info is sent to me, but there is only one problem.

When I click the Send/Submit button, it doesn’t move on to the next frame.

I’ve tried using solutions on [http://www.kirupa.com/forum/showthread.php?t=83908](http://www.kirupa.com/forum/showthread.php?t=83908) , but I’ve had no luck. I searched around the forums for a solution, and none of them have worked.

For reference, I used the code in the example for some time, which was:

**AS on Button:**

on (release) {  
// send variables in form movieclip (the textfields)  
// to email PHP page which will send the mail  
form.loadVariables(“process.php”, “POST”);  
}

**AS on Form:**

onClipEvent(data){  
// show welcome screen  
\_root.nextFrame();  
}

then after reviewing the topic above, the AS on my button and my button only is:

on (release) {  
form.loadVariables(“process.php”, “POST”);  
form.onData = function() {  
this.loadclip.nextFrame();  
};  
}

Thanks ahead of time for taking the time to help me out 😏

By the way, first post 😛 .
