my opinions: 1) Use Flex states for components. Use viewstacks to manage the application. Easy to bind the selectedIndex on your viewstack to a bindable var in your model. 2) Which framework to use for this is a discussion for a different thread, it really doesn't pertain to the topic.
DK On Nov 22, 2007 8:31 AM, <[EMAIL PROTECTED]> wrote: > >Hi Seb, > > > >Thanks, I've now created a static const in my ModelLocator class which > >, is called APP_DEFAULT_STATE, which I'm using to load in the > >Application.currentState. So now I can switch between states fine, > thanks. > > > >One question though is Cairngorm good with managing states or is it > >better suited to using the viewstack to manage how an application looks? > > This is hard question. Cairngorm per se don't really force you into any > particular solution, though creators advocate binding to data model as often > as you can. This may be perceived as either good and bad. For me it's a bad > smell since it changes your application into great confusing state machine. > > I'm not sure I'm right but I think they've used ViewStack, since it view > can bind directly to model data. It seems like either they forget about the > currentState property and the ability to bind, or have a good reason no to > do that. > > The choice is up to you. > > > > -- > 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 > > > > -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?

