var textFormat:TextFormat = new TextFormat(); textFormat.size = 24; checkBox.setStyle("textFormat", textFormat);