The URLLoader.data
property will contain the decoded variables in the form of an Object
. One way to retrieve them would be the following:
function handleVariables(event:Event):void {
var loader:URLLoader = event.target as URLLoader;
for (var key:String in loader.data)
trace(key, loader.data[key]);
}