Ted Patrick > { Events & Community } > Adobe Systems


Dear Google Finance,

In your charting on finance it seems you recently started using Flex Builder ActionScript project to compile the SWF files, yeah! On the site there is a subtle blue flash which is due to the background hex setting on the SWF file. To change the background SWF color to White do the following:

In Flex Builder under Project Settings > Compiler Tab add the following under additional compiler arguments:

-default-background-color #FFFFFF


Like so:



Tada, no blue!

Cheers,

Ted :)

8 Responses to “ Dear Google Finance, ”

  1. # Blogger Expecting.Rain

    It always amazes me to see the big boys miss this small but important detail.  

  2. # Anonymous marco secchi

    thanks for the tip! But should be -default-background-color and not default-background-color :)  

  3. # Blogger randy.troppmann

    Or they can change the 'bgcolor' attribute to '#ffffff' on their html template ... it looks like they have done so.  

  4. # Blogger Ted Patrick

    I missed the dash! Corrected.

    Ted :)  

  5. # Blogger Ted Patrick

    Randy,

    You can change the bgcolor but if the swf is without bgcolor setting it will appear. I always opt to change the SWF color vs deal with it in metadata.

    It is funny how whenever I see this blue/grey it makes me cringe. Why this was chosen as the default background for all swf files is weird.

    Ted :)  

  6. # Anonymous Zach Graves

    It would be nice to have an option to set the bgcolor when creating a new flex project.  

  7. # Blogger randy.troppmann

    Good point Ted. What is crazy about this app is the amount of data they pass in with FlashVars in the embed code. I had never considered what the upper limit would be for FlashVars but it saves another trip to the serverside if it works.  

  8. # Anonymous Joseph

    Ted, your sense of humor shows straight on this post.  

Post a Comment

Jobs


Flex Jobs
city, state, zip


© 2008 Ted On Flash

Technorati Profile