blink359
10-13-2010, 01:10 PM
Hi there,
I'm trying to pass variables from flash to php, My php is fine its just my actionscript isnt, Im very new to actionscript and do not understand much about it my actionscript code for my submit button is:
on(Release)
{
to = email_to.data; //.data is passing its data from the radio button
email = email_from.text; //.text doesnt pass data
subject = email_subject.text;
message = email_message.text;
LoadVariables("contactus.php", this, "POST");
gotoAndStop(1);
}
I have the actionscript for the variables in this format
Variablethatphpsees = instancename.text/data;
My text inputs are component text inputs and therefore do not have a var: box on the propities.
Also it does not carry out the gotoAndStop(1);
I am running Flash MX 2004 as its all the school has.
If anyone has any information or can help me rewrite my actionscript it will be much appriciated.
Thanks,
Blink359
I'm trying to pass variables from flash to php, My php is fine its just my actionscript isnt, Im very new to actionscript and do not understand much about it my actionscript code for my submit button is:
on(Release)
{
to = email_to.data; //.data is passing its data from the radio button
email = email_from.text; //.text doesnt pass data
subject = email_subject.text;
message = email_message.text;
LoadVariables("contactus.php", this, "POST");
gotoAndStop(1);
}
I have the actionscript for the variables in this format
Variablethatphpsees = instancename.text/data;
My text inputs are component text inputs and therefore do not have a var: box on the propities.
Also it does not carry out the gotoAndStop(1);
I am running Flash MX 2004 as its all the school has.
If anyone has any information or can help me rewrite my actionscript it will be much appriciated.
Thanks,
Blink359