The following example shows how you can style the last button in a Flex ButtonBar control by setting the lastButtonStyleName style.
Full code after the jump.
[click to continue…]
Tagged as:
lastButtonStyleName
The following example shows how you can set the data provider of a ButtonBar control in Flex to a ViewStack container.
Full code after the jump.
[click to continue…]
Tagged as:
dataProvider
The following example shows how you can disable individual buttons on a ButtonBar control in Flex by using the getChildAt() method and enabled property on the returned button instance.
Full code after the jump.
[click to continue…]
Tagged as:
enabled,
getChildAt()
The following example shows how you can skin the ButtonBar control in Flex by setting the buttonStyleName style and setting one or more of the following skin styles: skin, upSkin, overSkin, downSkin, disabledSkin.
Full code after the jump.
[click to continue…]
Tagged as:
buttonHeight,
buttonStyleName,
disabledSkin,
downSkin,
overSkin,
skin,
upSkin
The following example shows how you can use a custom label function to create button labels on a ButtonBar control in Flex by setting the labelFunction property.
Full code after the jump.
[click to continue…]
Tagged as:
describeType(),
labelFunction