Hi:
I am using URLRequest to send information to a web. But I do not know how
to fill the property: data.
This is my code:
var urlRequest: URLRequest = new URLRequest("www.[my-domain].com");
var urlLoader: URLLoader = new URLLoader();
var urlVariables: URLVariables = new URLVariables("parameter=" + key);
urlRequest.method = HTTPConstants.POST;
urlRequest.data = urlVariables;
urlLoader.load(urlRequest);
I can't set data with urlVariables.
Error: Implicit coercion of a value of type URLVariables to an unrelated
type Object.
Best regards!!