【发布时间】:2011-12-01 07:17:00
【问题描述】:
我在将 backgroundColor 应用到 Flash 中的 TextInput 组件时遇到问题。我有一个名为 LastLayer 的 MoveClip;在该层中,我使用组件设计了 TextInput。现在我想为 TexInput 添加背景颜色。谁指导我。如何添加背景颜色?提前致谢!
txtUser 是我的 TextInput 组件的实例名称。我试过这段代码,但它不起作用:
txtUser.setStyle("backgroundColor", "#000000"));
【问题讨论】:
标签: flash components textinput