This content has been marked as final. Show 7 replies
Flex application are different from plain HTML page based applications. In Flex you main application have multiple views that you create using containers like Accordoin, Tabs, or ViewStack. For smallish apps these views are embedded in to the main MXML while for larger apps you can them out as independent Modules. So to start with you might want to study containers and modules.
I do currently have viewstacks but was told that was wrong and they are more for masking or something.
Tabs isn't what I am looking for I did look at those...
I want to be able to have like a log in page, then takes you to a main page and within the main page there are different sections... but those different sections aren't going to have the same navigation or anything.
Would containers or modules allow for that?
I'm looking here - http://www.adobe.com/devnet/flex/quickstart/using_containers/ and I think it would.
How do you link up containers via button clicks then?
Use a ViewStack. It suits your purpose fine. They are not used for masks. Modules are okay if the views are large and user typically will not go to most of them.
If using view stack I still am unsure on what is put in the button click to link it up...
Flex Builder help sys has more examples:
Whoever told you ViewStacks are "only for masking" (whatever they mean by that) was wrong. That's like saying a DataGrid should only be used for showing data queried from a database... err, whatever.
Ah yeah I see how that works. Will give it a try in a bit and see if I get mines working.