backgroundDisabledColor error when upgrading from Flex3 to FlashBuilder 4
Posted
by DShultz
on Stack Overflow
See other posts from Stack Overflow
or by DShultz
Published on 2010-04-30T01:52:36Z
Indexed on
2010/04/30
1:57 UTC
Read the original article
Hit count: 437
I've upgraded a FlexBuilder3 project to FlashBuilder4, and I am seeing many compilation errors regarding unsupported tag attributes:
The style 'backgroundDisabledColor' is only supported by type 'mx.controls.TextInput' with the theme(s) 'halo'
Here is the offending mxml element:
<mx:TextInput x="245" y="86" id="code1" maxChars="15" change="enableButton(event)" cornerRadius="9" borderStyle="solid" backgroundDisabledColor="#7977b6" />
...what is the best workaround for this particular error? I was able to easily resolve a similar error with the "backgroundColor" attribute by changing it to "contentBackgroundColor", and was hoping there was a simple workaround for backgroundDisabledColor as well. I realize I can apply a css style, but I'd rather have a simpler solution as there are many many other attribute errors similar to this one.
© Stack Overflow or respective owner