I'm passing in a colour via flashvars and then attempting to set the
background colour with:

backgroundColour = Application.application.parameters.background_colour;

application.setStyle("backgroundColor", "0x" + backgroundColour);

But the concatenation doesn't work. Trawling the docs, I haven't even found
a way to create a colour object from a string.

Any ideas how I might achieve this?

Adrian Lynch
Building a database of ColdFusion errors at http://cferror.org/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:5536
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to