public function toggleStyle():void {
if (cb1.selected == true) {
b1.setStyle("fontSize", 8);
} else {
b1.setStyle("fontSize", null);
}
}
@namespace mx "http://www.adobe.com/2006/mxml";
mx|Button {
color: red;
fontSize: 25;
}