Ryan, how would this work?


------------------------------------------------------------
//  Actionscript

var IncomingData:LoadVars = new LoadVars();
IncomingData.onLoad = function(success:Boolean){
   if(success){
       // Do stuff when data is loaded
   }else{
       trace("Load Failed!");
   }
};

var OutgoingData:LoadVars = new LoadVars();
OutgoingData.first_name = "Bob";
OutgoingData.address = "1234 Main";
OutgoingData.zipcode = "75240";
OutgoingData.sendAndLoad("http://server.com/script.aspx",IncomingData,"POST";);

------------------------------------------------------------
'    VB.NET Code Behind in the page load event

first_name = Request("first_name")
address = Request("address")
zipcode = Request("zipcode")

'    Do SQL query using posted data
'    Munge data as necessary
'    Write return data into a string called "output"

response.write output
------------------------------------------------------------

   That's about it.

ryanm
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to