[flexcoders] Application background colour during pre-loader

2007-03-19 Thread Giles Roadnight
Hi All

I've built this image gallery here:

http://www.caterpillar-designs.com/index.cfm?go=app.gallery

which is just about working as I want now aside from a few tweaks.

One thing I can't seem to fix though is the background colour of the
swf when it is loading. At the moment you get a grey flash as the
prelaoder works then the background goes white.

How do I change this? My application tag has this at the moment:

 backgroundGradientColors=[#ff, #ff]

thanks



Re: [flexcoders] Application background colour during pre-loader

2007-03-19 Thread Peter Baird
You need to declaritively set the backgroundColor property directly in the
application tag (not in css file).

So:

mx:Application backgroundColor=#FF ...


On 3/19/07 5:41 AM, Giles Roadnight [EMAIL PROTECTED] wrote:

 Hi All
 
 I've built this image gallery here:
 
 http://www.caterpillar-designs.com/index.cfm?go=app.gallery
 
 which is just about working as I want now aside from a few tweaks.
 
 One thing I can't seem to fix though is the background colour of the
 swf when it is loading. At the moment you get a grey flash as the
 prelaoder works then the background goes white.
 
 How do I change this? My application tag has this at the moment:
 
  backgroundGradientColors=[#ff, #ff]
 
 thanks
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 

/ \®   PETER BAIRD
888/   \888Sr. User Experience Consultant
88/  /  \88Adobe Consulting | Adobe Systems, Inc
8/  /8\  \8275 Grove St. Newton, MA
/  /888\  \Office: 617.219.2126
  \8\  Cell: 617.803.6804



RE: [flexcoders] Application background colour during pre-loader

2007-03-19 Thread Giles Roadnight
Great, thanks.

 

I was setting that property before but it didn't seem to affect the
background colour one the application had initialised.

 

 

Giles Roadnight

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Baird
Sent: 19 March 2007 14:43
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Application background colour during pre-loader

 

You need to declaritively set the backgroundColor property directly in the
application tag (not in css file).

So:

mx:Application backgroundColor=#FF ...

On 3/19/07 5:41 AM, Giles Roadnight [EMAIL PROTECTED]
mailto:giles%40roadnight.name  wrote:

 Hi All
 
 I've built this image gallery here:
 
 http://www.caterpillar-designs.com/index.cfm?go=app.gallery
 
 which is just about working as I want now aside from a few tweaks.
 
 One thing I can't seem to fix though is the background colour of the
 swf when it is loading. At the moment you get a grey flash as the
 prelaoder works then the background goes white.
 
 How do I change this? My application tag has this at the moment:
 
 backgroundGradientColors=[#ff, #ff]
 
 thanks
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 

/ \R PETER BAIRD
888/ \888 Sr. User Experience Consultant
88/ / \88 Adobe Consulting | Adobe Systems, Inc
8/ /8\ \8 275 Grove St. Newton, MA
/ /888\ \ Office: 617.219.2126
\8\ Cell: 617.803.6804