Hi,

Probably the background color of the preloader is showing first? Try adding
the following to the compiler arguments:

-default-background-color #FFFFFF

This should change the background color of the preloader. If this doesn't
fit your needs, you can always put in your own preloader to handle the
background color...

Nordin

On Tue, Jan 26, 2010 at 3:31 PM, markflex2007 <[email protected]>wrote:

>
>
> Hi,
>
> I build a Flex application and I set background color for it.
>
> But the default Flex background (dark grey) loaded first than switch to my
> background when I first run the application.
>
> How to terminate the application show default Flex background (dark grey)
> when application loaded? Thanks for your help.
>
> Mark
>
> PS: My main mxml:
>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="vertical" xmlns:ns1="healthindex.*"
> backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#2E6CF8,
> #D8E1F6]" creationComplete="init()" resize="handleResize()"
> creationPolicy="all">
>
> ...
> </mx:Application>
>
>  
>

Reply via email to