/ Published in: ActionScript 3
This is the code for changing the color of a label in Flash's components.
Expand |
Embed | Plain Text
var myFormat:TextFormat = new TextFormat(); myFormat.font = "Arial"; myFormat.size = 14; myFormat.bold = true; myFormat.color = 0xFF0000; //red checkBox.textField.autoSize = TextFieldAutoSize.LEFT; checkBox.setStyle("textFormat", myFormat);
You need to login to post a comment.
