I'm pretty new to Flex and working on a project with a more senior developer - who's out for a few days. I hope this is a simple question!
I've got a CTA button that I want red with white text. This is how I'm doing it:
in fx:Style ...
the button ...
<s:Button styleName="startButton" label="Start" click="currentState=PracticeState'" height="40" width="100" />
All of the properties from the style apply except for the color property. Any ideas why it wouldn't? There may be a master style that I'm not aware of, but shouldn't addin the style property here override?
Found the global style, but there's nothing dictating the chrome color to text color of a Spark Button in there.
There was a global style for s|Label and since the Spark button uses one of these for the text, that was it.
Ah-hah! I have found that if the button skin specifies an explicit color for the text label, that can also get in the way, but it sounds like you figured out your problem.