PDA

View Full Version : LoadVars.Send to ASP



GoA
September 16th, 2004, 07:57 AM
Hellow,

I'm trying to send content from flash to asp, but I dont know how to request for the data in asp,

This is my AScode:


var myLv:LoadVars = new LoadVars()
myLv.vr1 = vr1
myLv.vr2 = vr2
myLv.vr3 = vr3
myLv.zenderNaam = naam_txt.text
myLv.zenderEmail = email_txt.text
//
myLv.send("wedstrijd.asp","_blank","POST")

Anyone knows to call for these in asp?

thnxs!

Digitalosophy
September 16th, 2004, 10:30 AM
http://www.kirupa.com/developer/actionscript/forms_database.htm

the code would be


<%
strVr1 = Request.Form("vr1")
strVr2 = Request.Form("vr2")
strVr3 = Request.Form("vr3")
strZenderNaam = Request.Form("zenderNaam")
strZenderEmail = Request.Form("ZenderEmail")
%>


Now you can do whatever you'd like with the information.

Thread Moved.