I'm a little unclear as to how "states" work in Flex and Flash Bilder 4. Are states like "frames" in Flash Pro, or am I getting them wrong?
How would I show difference "screens" to a user? (login, admin panel - settings, main menu)I take it that I need to use states, b开发者_如何学Pythonut I haven't figured out how to do so. Should I be using Actionscript somewhere, something else?
States are a way of grouping layout & property settings, so that when a particular state is active, all of it's associated properties are set to state specific values.
By doing this, you can show the user a different layout of a view by setting up different states and then applying different state properties for components of that view.
it's just a kind of event system :)
You may want to watch a screencast on View States here: http://www.firststepsinflex.com/
精彩评论