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
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