Tag Archives: buttonStyleName

Setting an image background on a Halo ButtonBar control in Flex 4

The following example shows how you can set an image background on a Halo ButtonBar control (with default Spark skin) in Flex 4 by setting the buttonStyleName, firstButtonStyleName, lastButtonStyleName, and skin styles.

Full code after the jump.

Continue reading Setting an image background on a Halo ButtonBar control in Flex 4

Setting a label’s font weight on a Flex LinkBar and ToggleButtonBar control

The following example shows how you can set the font weight of a label on LinkBar control and ToggleButton control in Flex by setting the linkButtonStyleName style and buttonStyleName style respectively.

Full code after the jump.

Continue reading Setting a label’s font weight on a Flex LinkBar and ToggleButtonBar control