Chapter 2. MAKING STATES ROCK
Updated 7/2/08
Recipes for states
States are one of the most important, but least understood, features of the Flex framework. One of the reasons stems from their vaguely defined role. A Flex interface can have one or more states, defined by you, where each state can change as many or as few attributes as it wants to.
That all sounds great, but what are states useful for? For my Flex application work, I see states as defining the different modes of the interface. For example, let's say you have a HorizontalList
showing a series of image thumbnails. When the user clicks one, you want to shrink the space occupied by the list ...
Get Flex 3 Component Solutions: Build Amazing Interfaces with Flex Components now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.