# Flash/PHP email form as a movie clip?

**URL:** <https://forum.kirupa.com/t/flash-php-email-form-as-a-movie-clip/231047>\
**Category:** flash\
**Created:** [July 1, 2007, 4:44pm UTC](https://forum.kirupa.com/t/flash-php-email-form-as-a-movie-clip/231047 "2007-07-01T16:44:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yolkSac](https://avatars.discourse-cdn.com/v4/letter/y/4bbf92/32.png) [@yolkSac](https://forum.kirupa.com/u/yolkSac)\
**Post date:** [July 1, 2007, 4:44pm UTC](https://forum.kirupa.com/t/flash-php-email-form-as-a-movie-clip/231047/1 "2007-07-01T16:44:29Z")

</div>

Hey All,

I’m trying to adjust “Senocular” email contact form to work inside a movie clip.  
–\> [http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

I placed it in the MC, changed the target path where it applies in the action script and for the most part it works. I’m able to receive emails from the form.

However, i am not able to receive any of the typed information. Instead, i get  
“\< \>” in the email where content should be. It seams that the text field variable are not being passed off to the PHP script. The form works fine when not inside a MC and i haven’t touched the PHP, only the target path?

Here’s the AS on the SEND btn

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

* * *

Here’s the AS on the form

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

* * *

Any ideas on how i can get this to work?

Much appreciated!  
Thanks.
