The following example shows how you can check whether the user has selected an item in the Spark DropDownList control in Flex 4 by setting the Boolean requiresSelection property to true or using a NumberValidator to check the DropDownList control’s selectedIndex property is greater than -1.
[click to continue…]
Tagged as:
Gumbo,
lowerThanMinError,
requiresSelection,
selectedIndex
The following example shows you how you can set the selected index of a LinkBar control in Flex by setting the selectedIndex property using MXML or ActionScript.
Full code after the jump.
[click to continue…]
Tagged as:
selectedIndex
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
The following example shows how you can change the currently selected child in an Accordion container using ActionScript by setting the accordion’s selectedIndex property.
Full code after the jump.
[click to continue…]
Tagged as:
selectedIndex