Post a full test case I can copy and paste to try out.  I did notice the name 
of the selector is myBytton, not myButton.


On 5/27/10 12:54 PM, "[email protected]" <[email protected]> wrote:






Hello,

I have noticed that the following "quite simple CSS" may be ignored depending 
on our MXML structure...? :

.myBytton {
 color: #111111;
}

Button {
 color: #222222;
}

Both CSS styles are ignored below :
<mx:Button styleName="myButton" .../> // color #111111 ignored
<mx:Button .../> // color #222222 ignored
=> and default color for <mx:Button> gets displayed :-(

Does anyone know about this issue ?  and how to workarround it ?

With thanks,

Regard.

PS : config. is "AIR application run on WinXP via Flex Builder 3"






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to