Wednesday, May 5, 2010

Flex Actionscript GoodNess :Changing States in Flex from ActionScript

States are a breeze in Flex4, they are so elegant and simple to use.

If you are using Cairngorm or other model, you are bound to change the State in Flex from Command Object through actionScript.

Here is how to change the states..

import mx.core.FlexGlobals

//then Navigate to the component in a top down hierarchy and change the //currentState property


Done!! Hurray!!

No comments:

Post a Comment