I'm making a website that uses a link bar that is connected to a view stack, I found that when I run the web app all of my view stacks load and this might hamper performance in the future. Is there a way to have only a view stack load it's contents when it is selected? If not can I do this with states?
Have you tried using modules ??? that shoulld work for you.
Avoid the viewstack. It is history thanks to spark and unnecessary with spark skinning.
Using skin states, define a state for each view, and in the group container use includeIn= "view" & itemCreationPolicy="deferred"
See http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf63611-7ffa.html for a more detailed explanation.
with modules or states is it possible to pass flashvariables between each state or module?