1.

What Is State? What Is The Difference Between States And Viewstack In Flex?

Answer»

The State class defines a view state, a particular view of a component. For example, a PRODUCT thumbnail could have two view states; a base view state with minimal information, and a rich view state with additional information. The overrides property specifies a set of child classes to ADD or remove from the base view state, and properties, styles, and event handlers to set when the view state is in effect.

You use the State class in the states property of Flex components. You can only SPECIFY a states property at the root of an application or a custom CONTROL, not on child controls.

The State class defines a view state, a particular view of a component. For example, a product thumbnail could have two view states; a base view state with minimal information, and a rich view state with additional information. The overrides property specifies a set of child classes to add or remove from the base view state, and properties, styles, and event handlers to set when the view state is in effect.

You use the State class in the states property of Flex components. You can only specify a states property at the root of an application or a custom control, not on child controls.



Discussion

No Comment Found