gghazaryan
04-15-2008, 01:04 PM
Hi everybody.
Hope somebody will help me.
Here is my first tag in mxml:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:configLoader = "GUIConfiguration.*" applicationComplete="complete(event)" preloader="preload.PokerPreloader2" backgroundColor="0xffffff">
As you see backgroundColor is set to white.
When I loaded css in runtime with Application background set to red background didnt change.
Most interesting part is that after removing backgroundColor="0xffffff" attrubute from main tag, CSS started to work.... why ???
/* CSS file */
Application {
backgroundColor: #ff0000;
}
Thanks
Hope somebody will help me.
Here is my first tag in mxml:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:configLoader = "GUIConfiguration.*" applicationComplete="complete(event)" preloader="preload.PokerPreloader2" backgroundColor="0xffffff">
As you see backgroundColor is set to white.
When I loaded css in runtime with Application background set to red background didnt change.
Most interesting part is that after removing backgroundColor="0xffffff" attrubute from main tag, CSS started to work.... why ???
/* CSS file */
Application {
backgroundColor: #ff0000;
}
Thanks