【发布时间】:2010-04-30 01:52:36
【问题描述】:
我已将 FlexBuilder3 项目升级到 FlashBuilder4,我看到许多关于不支持的标签属性的编译错误:
只有主题为“光环”的“mx.controls.TextInput”类型才支持“backgroundDisabledColor”样式
这是有问题的 mxml 元素:
<mx:TextInput x="245" y="86" id="code1" maxChars="15" change="enableButton(event)" cornerRadius="9" borderStyle="solid" backgroundDisabledColor="#7977b6" />
...针对此特定错误的最佳解决方法是什么?通过将“backgroundColor”属性更改为“contentBackgroundColor”,我能够轻松解决类似的错误,并希望 backgroundDisabledColor 也有一个简单的解决方法。我意识到我可以应用 css 样式,但我宁愿有一个更简单的解决方案,因为还有许多其他类似于此的属性错误。
【问题讨论】:
标签: apache-flex actionscript flexbuilder mxml flash-builder