You could have conditional code that loads different style modules.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of Richard Rodseth
Sent: Wednesday, October 07, 2009 11:34 AM
To: [email protected]
Subject: [flexcoders] Conditional compilation of CSS



Is there any way to compile different CSS files based on a compile-time flag?

For better or worse, I'm trying to avoid the build/deploy complexity of 
multiple SWF artifacts.

I can't use the following because I get the error "Data binding expressions not 
supported with attributes processed at compile time"

    <mx:Style source="{styleSource()}"/>




Reply via email to