mykrob
04-14-2003, 07:39 PM
LoadVars question
Hey,
i have the following script on a button in a Flash form:
on(release) {
formData = new LoadVars();
formData.fName = _root.user_name.text;
formData.fPhone = _root.user_phone.text;
//and several other data collectors, this isnt important now;
formData.send("http://www.myurl.com/scripts.formHandler.php", "POST");
}
here's my question: how can i get Flash to send these variables to my PHP script WITHOUT actually launching the PHP page? Right now, it works, and i receive the formData in my email, but when the user cliecks the button, the formHandler.php page is actually loaded..
thanks,
-myk
Hey,
i have the following script on a button in a Flash form:
on(release) {
formData = new LoadVars();
formData.fName = _root.user_name.text;
formData.fPhone = _root.user_phone.text;
//and several other data collectors, this isnt important now;
formData.send("http://www.myurl.com/scripts.formHandler.php", "POST");
}
here's my question: how can i get Flash to send these variables to my PHP script WITHOUT actually launching the PHP page? Right now, it works, and i receive the formData in my email, but when the user cliecks the button, the formHandler.php page is actually loaded..
thanks,
-myk