@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
global
{
font-family: Arial;
font-size: 12;
chrome-color: #494949;
symbolColor: #FFFFFF;
}
s|Application
{
backgroundColor: #E6E6E6;
}
s|Button, s|ToggleButton
{
color: #FFFFFF;
cornerRadius: 5;
fontWeight: bold;
}
s|Button:disabled
{
color: #000000;
}
.actionButton
{
chromeColor: #7091B9;
}
#xyzLabel
{
color:#FFFFFF;
fontSize:24;
fontWeight:bold;
}
四种类型的css,参考链接:
http://www.adobe.com/devnet/flex/testdrive/articles/5_customize_app.html
http://www.adobe.com/devnet/flex/videotraining/exercises/ex5_02.html
http://www.adobe.com/devnet/flex/videotraining/exercises/ex5_03.html
...