var url:String = "http://www.[yourDomain].com/application.jsp";
var request:URLRequest = new URLRequest(url);
var variables:URLVariables = new URLVariables();
variables.exampleSessionId = new Date().getTime();
variables.exampleUserLabel = "guest";
request.data = variables;
request.method = URLRequestMethod.POST;
navigateToURL(request);
This example is the functionality I want to achieve, however i want to make this happen in the background. This code opens a window.
You need to create a
URLLoaderand call itsload()method to do stuff “in the background”.If you’re sending data back then you can manage this through an
Event.