将Flash Builder 4.5移动应用程序TextArea背景颜色设置为黑色,将字体颜色设置为白色

时间:2012-07-09 10:54:31

标签: flex air flex4.5 flex-mobile flash-builder4.5

我正在Flash Builder 4.5中创建一个虚拟移动应用程序。在应用程序代码中我使用TextArea,我在朗姆酒时添加和删除TextArea。现在我想将TextArea背景颜色设置为黑色,将字体颜色设置为白色。

我该怎么做?

1 个答案:

答案 0 :(得分:2)

我必须说这不是很简单,但你所寻找的风格不是backgroundColor,而是contentBackgroundColor。它适用于所有扩展SkinnableTextBase的组件。

<s:TextArea color="0xffffff" contentBackgroundColor="0x000000" />