I guess maybe I should clarify that my experience with Cairngorm is pretty much limited to Steven's article on devnet. http://www.adobe.com/devnet/flex/articles/cairngorm_pt5_04.html
On that page, in his ProductDelegate example class, there is this function: public function getProducts() : Void { var call = service.getProducts(); call.resultHandler = Delegate.create( responder, responder.onResult ); call.faultHandler = Delegate.create( responder, responder.onFault ); } This obviously references the Delegate class from AS2, but what is the AS3/Cairngorm 2 equivalent? How do you write a delegate (lowercase 'd') in Cairngorm 2? Thanks, Ben --- In flexcoders@yahoogroups.com, slangeberg <[EMAIL PROTECTED]> wrote: > > Ben, > > The Delegate they're mentioning (in Cairngorm) is a design pattern and is > not the same as the Delegate class that you're thinking of, from AS2. > > Scott > > > On 7/5/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote: > > > > But the Delegate class used in Delegate.create() seems to be missing > > from AS3, so how would you use Delegates? > > > > Thanks, > > Ben > > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, Tom > > Chiverton <tom.chiverton@> > > > > wrote: > > > > > > On Wednesday 05 July 2006 07:20, Artur Kordowski wrote: > > > > >Why not use a delegate ? > > > > The delegate class is not longer available in the flex framework, so I > > > > can't use it. > > > > > > It was never in the flex framework, it's a Cairngorm convention. > > > > > > -- > > > Tom Chiverton > > > > > > **************************************************** > > > > > > This email is sent for and on behalf of Halliwells LLP. > > > > > > Halliwells LLP is a limited liability partnership registered in > > England and Wales under registered number OC307980 whose registered > > office address is at St James's Court Brown Street Manchester M2 2JF. > > A list of members is available for inspection at the registered > > office. Any reference to a partner in relation to Halliwells LLP means > > a member of Halliwells LLP. Regulated by the Law Society. > > > > > > CONFIDENTIALITY > > > > > > This email is intended only for the use of the addressee named above > > and may be confidential or legally privileged. If you are not the > > addressee you must not read it and must not use any information > > contained in nor copy it nor inform any person other than Halliwells > > LLP or the addressee of its existence or contents. If you have > > received this email in error please delete it and notify Halliwells > > LLP IT Department on 0870 365 8008. > > > > > > For more information about Halliwells LLP visit www.halliwells.com. > > > > > > > > > > > > > -- > > : : ) Scott > ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/