I am trying to modify this tutorial: 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”);
}