How do you return data from a addEventListener?

I am new to actionscript and can not figure something out. I want to get something back from a function I call in a EventListener (the onLoaded function below) . How the heck do I get it? I show an object here… but it could be a string or anything. I am guessing I need to return the object, but how do I do that with the onLoaded function when it is called in the listener?

here is the code:
function makeCall(functionName:String, userID:String, params:Object):Object {
var jParams:String = JSON.encode(params);
var serviceUrl:String = “http://” + ServiceHost + “/” + ServicePath + “/” + functionName;
var myRequest:URLRequest = new URLRequest(serviceUrl);
var myLoader:URLLoader = new URLLoader();
var myVariables:URLVariables = new URLVariables();
myVariables.user = userID;
myVariables.data = jParams;
myRequest.method = URLRequestMethod.GET;
myRequest.data = myVariables;
function onLoaded(evt:Event):Object {
var oPayload:Object = JSON.decode(myLoader.data); // here is the object I would like to return!
}
myLoader.addEventListener(Event.COMPLETE, onLoaded);
myLoader.load(myRequest);
}
var ObjectIwant:Object = makeCall(”service”, “email”, oCredentials);

Any help would be awesome