Re: [flexcoders] Flex 2 final, Cairngorm ServiceLocator/Delegate implementation?

2006-06-28 Thread Jean-Luc ESSER
Hello Benoit, I've been playing around this matter all day long ;) You'll have to type your onResult and onFault to * instead of OnXXX, and cast your event when declaring your var myEvent = CAST(event.result); You actually drop the call (event.call.result) which is not defined in rpc

RE: [flexcoders] Flex 2 final, Cairngorm ServiceLocator/Delegate implementation?

2006-06-28 Thread Benoit Hediard
OK, don't know what I did wrong, but changing event.call to event.token insolve the issue... ;) Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Benoit HediardEnvoyé: mercredi 28 juin 2006 16:39À: flexcoders@yahoogroups.comObjet: [flexcoders] Flex 2

RE: [flexcoders] Flex 2 final, Cairngorm ServiceLocator/Delegate implementation?

2006-06-28 Thread Peter Farland
Irrespective of Cairngorm, in addition to the property name changing from call to token, note that FaultEvent and ResultEvent tokens are strongly typed as the dynamic type mx.rpc.AsyncToken Note that this class now allows multiple responders, see documentation for