I've got the following CSS which I'd like to get working. I'm sure I've done something similar once, but I can't find the answer on google.
Basically some style properties have child properties which can be changed, suchas Container.borderSkin. You can set borderThickness, borderStyle etc, all on the borderSkin style.
<mx:Style>
.myBorderSkin
{
borderThickness: 5;
borderColor: #FF0000;
/*borderStyle: none;*/
}
MyControl
{
borderSkin: .myBorderSkin;
}
</mx:Style>
Unfortunatly when I run the application, I get the error "TypeError: Error #1034: Type Coercion failed: cannot convert "myBorderSkin" to Class."