Return to Snippet

Revision: 37398
at December 9, 2010 13:08 by SmpleJohn


Initial Code
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);

Initial URL


Initial Description
This is the code for changing the color of a label in Flash's components.

Initial Title
Change Label Component Properties

Initial Tags


Initial Language
ActionScript 3