You can skin a RadioButton in Flex by setting the following values in CSS:
upSkin: Embed(...);
overSkin: Embed(...);
ownSkin: Embed(...);
disabledSkin: Embed(...);
selectedUpSkin: Embed(...);
selectedOverSkin: Embed(...);
selectedDownSkin: Embed(...);
selectedDisabledSkin: Embed(...);
But, it will still display the little circle icon inside your skin. You can change the icon by setting the following styles:
upIcon: Embed(...);
overIcon: Embed(...);
etc...
My question is, how can I set these icons to nothing? Rather than a 1x1 pixel transparent image or something? How can I give it an empty style?
Edit:
In actionscript I can do it like:
button.setStyle("icon", null);
In CSS I've tried:
icon: none;
icon: null;
But neither worked.
Accepted Answer:
Suggestions [one][1] & [two][1] both worked, but I prefer the cleaner solution of:
upIcon: ClassReference(null);
Thanks for both answers (wish I could mark both as the answer!)