The button's skin is a "style", so use the setStyle method to change it.
you can get rid of all the style by setting:
Thanks, that works. However, now I have a new problem. The reason I wanted to get rid of the skin is so i could have a solid background color for the button using
Now, there are no colors at all, just the label. I think I am going to just creat some custom canvas component, but if anyone has a suggestion, I would appreciate it.
can you post the css of your button ?
make sure you set the class to null and only after add new style changes
The fillColors style takes an array of TWO colors, not one.
Basically, I just had
[Bindable] public var nullRef:Class = null;
It was just using the default skins that come with Flex.