Flash - 组件的背景边框设置

目录

TestArea组件背景透明,边框也透明。

myTextArea.depthChild0._visible = false;

TestArea组件背景透明,边框不透明。

_global.styles.TextArea.backgroundColor = undefined;

TestArea组件背景和边框的透明度。

myTextArea.depthChild0._alpha = 0;

TestArea组件背景颜色。

_global.styles.TextArea.backgroundColor = 0xff0000;

TestArea组件边框颜色。
myTextArea.setStyle(“borderColor”,“0xff0000”);//下
myTextArea.setStyle(“highlightColor”,“0xff0000”);//上
myTextArea.setStyle(“color”,“0xff0000”);//字
myTextArea.setStyle(“shadowColor”,“0xff0000”);//下
myTextArea.setStyle(“borderCapColor”,“0xff0000”);//左右外
myTextArea.setStyle(“shadowCapColor”,“0xff0000”);//左右内