Tag Archive for 'selectedindex'

01
Jun

Setting a prompt on a ComboBox control in Flex

The following example shows how you can set a prompt on a Flex ComboBox control by setting the prompt property.

Full code after the jump.

Continue reading ‘Setting a prompt on a ComboBox control in Flex’

30
May

Preventing users from clicking on an Accordion container’s header in Flex

The following examples show how you can prevent a user from clicking a Flex Accordion container’s header by creating a custom Accordion header renderer.

Full code after the jump.

Continue reading ‘Preventing users from clicking on an Accordion container’s header in Flex’

20
Jan

Setting the selected index of a Flex LinkBar control

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.

Continue reading ‘Setting the selected index of a Flex LinkBar control’

04
Jan

Using a timer to change the selected index of a ViewStack container in Flex

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.

Continue reading ‘Using a timer to change the selected index of a ViewStack container in Flex’

17
Sep

Programmatically changing a Flex Accordion container’s selected index

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.

Continue reading ‘Programmatically changing a Flex Accordion container’s selected index’

27
Aug

Adding icons to a Flex Accordion control

The following example demonstrates how you can add embedded icons to a Flex Accordion container.

Full code after the jump.

Continue reading ‘Adding icons to a Flex Accordion control’