| What is the best way to encapsulate my Remoting Objects, and their associated Methods, in | the Application Root, so that the RemoteObject can be called from anywhere in the | application, and also have those Results sent to the Calling Component?
Mike -- we cover these ideas in great detail in the book "Developing Rich Clients with Macromedia Flex", in Chapter 20; good news is that this book is available as a free download at http://flexbook.iterationtwo.com/ Look particularly at the interaction of the Service Locator (where we encapsulate RemoteObject), Business Delegate (where we encapsulate calls to services) and Commands (the way we call the same services from different places and handle the results uniquely). Once you have a grasp of that, you might want to checkout the Cairngorm framework, and the ModelLocator, which gives a neat way for your commands to store results returned from the server, for use all over the place in your RIA. The good news for you is that the design problem you face is a recurring one, and that's why there are well understood design patterns for solving these problems. Hope this helps, Best, Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. 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/

