The following example shows you how you can change the direction of a Box container in Flex by setting the direction property to one of the constants in the BoxDirection class. The <mx:Box /> container is the superclass of the HBox container and VBox container. The subclasses (HBox and VBox) do not add any new functionality, they simply set the direction property automatically to “horizontal” or “vertical”.
Full code after the jump.
[click to continue…]
Tagged as:
direction
The following example shows how you can add a GlowFilter to a Flex Alert control by setting the filters property on the Alert object reference returned by the static Alert.show() method.
Full code after the jump.
[click to continue…]
The following example shows how you can display scroll tips in a Flex HorizontalList control by setting the Boolean showScrollTips property.
Full code after the jump.
[click to continue…]
Tagged as:
showScrollTips
The following example shows how you can alternate item colors in a HorizontalList control in Flex by setting the alternatingItemColors style.
Full code after the jump.
[click to continue…]
Tagged as:
alternatingItemColors
The following example shows how you can use a timer to change the selected index in a Flex ViewStack container.
Full code after the jump.
[click to continue…]
Tagged as:
selectedIndex