Flex Actionscript GoodNess :Changing States in Flex from ActionScript

Date published May 2010
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..
e.g
import mx.core.FlexGlobals
//then Navigate to the component in a top down hierarchy and change the //currentState property
FlexGlobals.topLevelApplication.currentState=”AdvancedSearch”
Done!! Hurray!!

Comments

Popular posts from this blog

Apache Airflow Wait Between Tasks

Groovy GoodNess – Converting a List to String

Java Spring Interview Questions