Archive for January 24th, 2008

24
Jan

Displaying icons in a Flex PopUpButton control

The following example shows you how you can add items to a pop up menu in a PopUpButton control in Flex by specifying the iconField property in the PopUpButton control’s nested Menu control.

Full code after the jump.

Continue reading ‘Displaying icons in a Flex PopUpButton control’

24
Jan

Setting alternating item colors on a Flex PopUpButton control

The following example shows how you can set alternating item colors on a PopUpButton control in Flex by setting the popUpStyleName and alternatingItemColors styles.

Full code after the jump.

Continue reading ‘Setting alternating item colors on a Flex PopUpButton control’

24
Jan

Specifying custom named unicode ranges in Flex

We’ve looked at general font embedding and unicode ranges before in previous examples (see “Embedding and animating fonts in a Flex application” and “Specifying certain unicode-ranges for embedded fonts”), but this example will show you how you can embed a named range of unicode characters into an application by editing your flex-config.xml file and specifying unicode ranges.

Full code after the jump.

Continue reading ‘Specifying custom named unicode ranges in Flex’