Mega Code Archive
Use a pseudo selector to change the appearance of the button when it is in the up, down, and over states
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
s|Button:up {
baseColor: black;
color: #FFFFFF;
}
s|Button:over {
baseColor: gray;
fontWeight: "bold";
color: #FFFFFF;
}
s|Button:down {
baseColor: blue;
fontWeight: "bold";
color: #FFFF66;
}