Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proper way to use LoadVars to send a request to an ASP page.

Status
Not open for further replies.

gchaves

Programmer
Oct 27, 2003
105
US
Greetings!

I am working with a Flash developer (I build ASP pages). Together, we need to send requests from a flash page to an ASP page that houses scripts which query a database based on a selection made on the flash page. We have been able to build a test page which can send the results of a text box to an ASP page and have it display using Request.Form to pull the contents of the variable from the headers and Response.Write to write it on the screen. The problem we have been facing are as follows:

1.) How do we send a request from Flash to ASP using the results of a drop-down menu selection?
2.) How do we pass that selection (or variable) using a LoadVars function?

Once we are able to get it to pass to the ASP page, I can build the ASP page to query the database for the records and build the corresponding recordset. Once we have done that, our next challenge is as follows:

1.) How do we use LoadVars to hand the resulting recordset off from ASP back to the Flash and have the recordset populate, say, a second drop down menu?

Unfortunately, I do not have any Flash code that I can post as of yet. As soon as my Flash developer can load a test page on our server, I would be happy to post the Flash code. However, any initial thoughts on how to we can hurdle this wall? Do we need to use LoadVars.Send and LoadVars.Load? Do we need to use LoadVars.SendandLoad? We just don't know! Any help would be greatly appreciated and as would any advice!

Thanks,
GC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top