Change highlightTextColor on ButtonBar iOS7 Skin?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Change highlightTextColor on ButtonBar iOS7 Skin?


I'm using the iOS7 Skin for the Spark ButtonBar.

How do I change the color of the 'highlightTextColor' (the text color of the
label on the button that is selected) when I initialize the component in
action script?

At the moment I am creating a copy of from
the Flex SDK and changing the highlighted line:

to hard code it to a color of my choice, then am packaging this skin with
the build.

Is there any way to set the style of 'highlightTextColor' in code when I
create a new ButtonBar rather then me having to package a hardcoded skin?

setStyle('highlightTextColor', 0x.....) on the ButtonBar instance does not


Sent from: