Hey All,
I’ve followed Kirupa’s tutorial on using GetURL to pass variables from a Flash form and ‘post’ them to a ASP script.
http://www.kirupa.com/developer/actionscript/forms_database.htm
I don’t care about any of the database stuff in this tutorial but thought it was a good jumping off point to pass the variables I wanted to my scripts page.
Problem is my scripts page isn’t displaying the information that’s coming in and I’m not sure if the info is even getting there.
Here’s an example of the code I have within the tutorial form I created via the Kirupa tutorial above. I followed the directions as precisely as I could.
FLASH BUTTON CODE
on(press){
getURL(“http://hsioscardev1/Boris_Test/SurveyTest_Frm/FormSubmit.asp","_self","POST”);
}
ASP SCRIPTS PAGE CODE
fname= Trim(Request.Form(“fname”))
lname= Trim(Request.Form(“lname”))
Email= Trim(Request.Form(“Email”))
message= Trim(Request.Form(“message”))
What am I doing wrong and what is the best way to do this using the Post and GetURL method? I’m not as familiar with LoadVars so if you suggest that solution please give me some background on it so I understand it better.
As always any help would be most appreciated.
Regards,
I LOVE THIS PLACE…
Skurge