Hello all.
I'm new on this. I'm having problems with a combobox in flash 8 trying to sending the variables to php script.
Here is my actionscript code:
lname1.addItem("Billing", "Billing");
lname1.addItem("Support", "Support");
lname1.addItem("Sales", "Sales");
function validate (address) {
if (address.length>=7) {
if (address.indexOf("@")>0) {
if ((address.indexOf("@")+2)<address.lastIndexOf(".")) {
if (address.lastIndexOf(".")<(address.length-2)) {
return (true);
}
}
}
}
return (false);
}
if ((validate(email)) && (fname != "")) {
action = "send";
loadVariablesNum (mailform, 0, "POST");
}
Would you please tell me how can send that?
Thanks you.
I'm new on this. I'm having problems with a combobox in flash 8 trying to sending the variables to php script.
Here is my actionscript code:
lname1.addItem("Billing", "Billing");
lname1.addItem("Support", "Support");
lname1.addItem("Sales", "Sales");
function validate (address) {
if (address.length>=7) {
if (address.indexOf("@")>0) {
if ((address.indexOf("@")+2)<address.lastIndexOf(".")) {
if (address.lastIndexOf(".")<(address.length-2)) {
return (true);
}
}
}
}
return (false);
}
if ((validate(email)) && (fname != "")) {
action = "send";
loadVariablesNum (mailform, 0, "POST");
}
Would you please tell me how can send that?
Thanks you.