Return to Snippet

Revision: 17044
at August 21, 2009 11:31 by markaltman


Initial Code
var url:String = "flash/store_results2.php";
var request:URLRequest = new URLRequest(url);
var variables:URLVariables = new URLVariables();
variables.var1 = flashVar1;
variables.var2 = flashVar2;
request.data = variables;
try 
{
    sendToURL(request);
}
catch (e:Error) 
{
    // error handling
}

Initial URL
www.markaltman.ca

Initial Description
This will send variables to a page for processing. Sends as Get variables, the receiving page won't open. This method doesn't return a response, use URLLoader.load() if you need a response.

Initial Title
send variables to page without opening it.

Initial Tags

                                

Initial Language
ActionScript 3