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 mx.rpc.AsyncToken.addResponder(responder:IResponder):void

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Benoit Hediard
Sent: Wednesday, June 28, 2006 10:39 AM
To: [email protected]
Subject: [flexcoders] Flex 2 final, Cairngorm ServiceLocator/Delegate implementation?

 

Hi,

 

In the Flex 2 final, how do you implement the ServiceLocator and Delegates?

 

In ServiceLocator, it looks like result="event.call.resultHandler(event)" must be replaced by result="event.token.resultHandler(event)".

But how do you implement the delegate?

 

I suppose that we'll see that in the final com.adobe.cairngorm.samples.login sample, but I'm currently blocked by this issue... ;)

Or am I missing something?

 

Benoit Hediard

 

 

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to