Hey Cameron, That's one of the things the Cairngorm framework is good for... it uses a ModelLocator object to store all your other application data in one "place." It's similar to the "session" object on an app server, except it's client side in the Flex app. All your Views can bind to the data in the ModelLocator. When your business logic needs to change data it does so in the ModelLocator, and those changes are then automagically reflected across all your Views.
If you're new to Flex I'd suggest you start out learning how to code Cairngorm style. Learn that and alot of otherwise tricky things will be handled for you. After coding my first apps the normal way and then later figuring out how Caringorm worked I was really kicking myself. Darren >From: "Cameron Childress" <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: [email protected] >Subject: [flexcoders] Flex Noob Question(s) >Date: Tue, 30 May 2006 13:31:18 -0700 > >So, I'm just getting into framing out my first serious Flex >application and feel a little overwhelmed by the quantity of raw >documentation and a little underwhelemed by the documentation path >from noob to expert. After thrashing around a bit in the docs, I >thought I would ask a couple of questions here. Please don't throw >things at me if this was discussed last week. Trust me, I looked. >I'm just lost. > >At this point I *think* understand the concept behind creating custom >components, and using them to decouple different functional parts of >your application. To this end, I am building three components for an >interface. They are > >1) Search inputs >2) Search result list >3) Item detail > >I'd like to use the same data retrieved in the Search Result (2), to >populate the item detail screen. However, I am getting errors in the >Flex builder when I try to refer to a dataset defined in one component >(2) in another component (3). > >I have a feeling I can put the dataset in yet another component that I >can just pass around the other components, but I am having difficulty >finding a good example of this. > >-Cameron > > > >-- >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 > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/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/

