Sorry, I'm not sure I get what you're trying to do. When you say delegate do you mean the 1.5 mx.utils.Delegate? We don't need that in 2.0 because we have closures which means that the function will maintain the correct "this" pointer. Or are you looking for a different delegate class?
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of mvbaffa Sent: Monday, February 20, 2006 4:59 AM To: [email protected] Subject: [flexcoders] Delegation and Callbacks Hi everybody, I have developed an ActionScript class to help synchonize WebService calls. You have to create an instance of it in the load event of the WebService. Then the class initializes some internal data structures looping through the webservice operations and drives the result event. At the initialization process the class receives also a setupCallback function parameter so that the application can define methods to be called before the webservice operation is sent and after the result event is fired. This setupCallback function is called by the class when it is initializing. I Would rather use a delegate to communicate with the application. How can I define and use delegation in Flex 2/ActionScript 3 Thanks in advance -- 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 -- 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/

