Tag Archive for 'iconfunction'

13
Jul

Specifying a custom icon function on a ComboBox control in Flex

The following example shows how you can specify a custom icon function on a Flex ComboBox control by setting the iconFunction property on the ComboBox control’s dropdown menu.

Full code after the jump.

Continue reading ‘Specifying a custom icon function on a ComboBox control in Flex’

15
Nov

Creating a custom icon function on a Flex Tree control

The following example shows how you can build a custom icon function on a Flex Tree control to display different icons depending on the current node name in the data provider.

Full code after the jump.

Continue reading ‘Creating a custom icon function on a Flex Tree control’

17
Aug

Displaying icons in a Flex List control

The following example demonstrates how to use embedded images in a List control so that each item in the list displays a little icon based on a certain property in the data provider. You’ll also notice that we set the textIndent style to give the label a bit more padding from the icon. Finally, we create three non-interactive Button controls beneath the list as a sort of “legend” for the icons.

Full code after the jump.

Continue reading ‘Displaying icons in a Flex List control’