hello- i’m using Flash CS3 to pass simple contact form variables to an ASP form. the problem is the variables don’t leave flash - my trace shows ‘0’ or undefined.
can anyone tell me what is wrong with my code below? I don’t really know what i’m doing wrong…
it is a movie clip within movie clip, button on form
Form with 4 fields all set to InputText…
txtName (variable - Name)
txtEmail (variable - Email)
txtHomeTel (variable - HomeTel)
txtInquiry (variable - Inquiry)
“Submit” button on release action
on (release) {
variables = new LoadVars();
variables.EmailFrom=“KM Creative Dreamer website”;
variables.EmailTo="kristine@kmcreativedreamer.com";
variables.subject=“Web Inquiry”;
variables.redirect=“thankyou.html”;
variables.Name=txtName.text;
variables.Email=Email;
variables.HomeTel=HomeTel;
variables.Comments=Inquiry;
variables.send(“http://www.kmcreativedreamer.com/_gdForm/webformmailer.asp”, 0, variables=“POST”);
trace(variables.Name.value);
//getURL(“http://www.kmcreativedreamer.com/_gdForm/webformmailer.asp”, method=“POST”);
}
Thank you!