Status:
I have a main class that is running an external sub class which loads my data (loads data via flash remoting on a ColdFusion server). No problems loading the data; however, I am trying to run a function from the main class on the sub class function onResult. I do not have problems running functions in the sub class in general, only in the responder result function.
Problem:
My problem is that I can’t pass the main class through the function onResult because I get a error with the arguments.
Here’s what some of the code look likes:
function init(){
myService2.connect("URLgateway");
var responder:Responder = new Responder(onResult, onFault);
myService2.call("engineGetID.test", responder);
}
function onResult(result:Object, myData){
//result traced here
}
Anyone know how I can run a main class function in the function onResult?