Checkbox修改外观样式

[code]

import flash.text.TextField;
import fl.controls.CheckBox;

var q1:CheckBox = new CheckBox();
addChild(q1);
q1.label = ” 测试”;
q1.width =110;
var fmt:TextFormat = new TextFormat();
fmt.color =0xff00ff;
fmt.font = “Verdana”;
fmt.size = 12;
fmt.align = “left”;
q1.setStyle(“textFormat”, fmt);

[/code]

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>