Set "Loading" screen background color on Flex

If I had a nickel for every time I've looked at a Flex application these days and seen that dull, default greyish blue color...

So here's my tip for the day:

Check out the compiler arguments line in the Flex properties and add

-default-background-color #PUTYOURCOLORHERE

Easy to do, and then your Flex apps won't look like everyone else's anymore :-)

More compiler arguments are available if you'd like to get frisky...

http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=compilers_123_24.html

And better yet, check out Ted Patrick's blog on creating custom preloaders and be a real rock star.

http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php

Comments
I wonder why people don't do this, even some of the pro apps don't ... yahoo web messenger is one example

you actually don't even need to set the compiler argument ... just set the backgroundColor of the Application tag and that would work, the backgroundColor is necessary even if you set backgroundGradientColors
# Posted By Mrinal Wadhwa | 12/16/07 8:10 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.005.