简体   繁体   中英

How do “States” work in Flash Builder and Flex?

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, but 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.

您可能需要在以下位置观看“查看状态”的截屏视频: http : //www.firststepsinflex.com/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM