I'm not sure. My app tag now looks like this:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal" creationComplete="init()" backgroundColor="0xcccccc"> and I see the colour as I was trying previously with: if (backgroundColour != "") { application.setStyle("backgroundColor", "0x" + backgroundColour); } Where backgroundColour is set with a flashvar. I wonder what would happen if you tested the same example using a flashvar. I wouldn't expect any difference but might be worth seeing? Adrian >How come my example worked then - it didn't have a default color either? > >Cheers > >Stefan >On 18 Nov 2008, at 10:39, adrian lynch wrote: > >> Thanks Stefan and Dave, it was not having a default value in the app >> tag that did it. >> >> Adrian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5542 Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
