# Flash & php email tut help

**URL:** <https://forum.kirupa.com/t/flash-php-email-tut-help/120701>\
**Category:** Uncategorized\
**Created:** [August 26, 2004, 5:37pm UTC](https://forum.kirupa.com/t/flash-php-email-tut-help/120701 "2004-08-26T17:37:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![headznet](https://avatars.discourse-cdn.com/v4/letter/h/34f0e0/32.png) [@headznet](https://forum.kirupa.com/u/headznet)\
**Post date:** [August 26, 2004, 5:37pm UTC](https://forum.kirupa.com/t/flash-php-email-tut-help/120701/1 "2004-08-26T17:37:25Z")

</div>

I am trying to modify this tutorial: [http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

I am trying to make the code into a function so that I can place it in a frame instead of attaching it to a mc. I would appreciate any help.

problem areas:

onClipEvent(data){  
this.sendSent.text = “MESSAGE WAS SENT”;  
this.textEmail.text = “EMAIL”;  
this.textSubject.text = “SUBJECT”;  
this.textName.text = “NAME”;  
this.textMessage.text = “MESSAGE”;  
}

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