aha! i knew it could be done...TY p On Sat, Feb 23, 2008 at 2:43 AM, Scott Melby <[EMAIL PROTECTED]> wrote:
> Check out the IResponder interface and AsyncToken class. You can > create a different responder for each method that is responsible for > handling the results of that call and updating your model or notifying about > errors as appropriate. Here is an example of how to use it > > //Create an instance of the handler for this call... since this > object is an IResponder it must provide > //result and fault methods that can be called with the results > of the call > var iResponder:IResponder = new MyRemoteCallHandler(); > > //get reference to remote object and setup params prior to this > code > var token:AsyncToken = remoteObject.remoteCall(param1, > param2); \ > var responder:Responder = new Responder(iResponder.result, > iResponder.fault); > token.addResponder(responder); > > hth > Scott > > Scott Melby > Founder, Fast Lane Software LLChttp://www.fastlanesw.com > > > > [p e r c e p t i c o n] wrote: > > Hi All, > I need to know if there's a way to tell where an event is coming from > using RemoteObjec'ts result handler...I have several methods that i call > using RemotrObject, and need to take different action based on which remote > method i called... > any ideas?? > > thanks > > p > > >

