Yes. You might be able to embed the style modules as byte arrays 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 1:39 PM To: [email protected] Subject: Re: [flexcoders] Conditional compilation of CSS But then I still have separate SWFs, right (or can modules be embedded) ? On Wed, Oct 7, 2009 at 1:36 PM, Alex Harui <[email protected]<mailto:[email protected]>> wrote: 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]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Richard Rodseth Sent: Wednesday, October 07, 2009 11:34 AM To: [email protected]<mailto:[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()}"/>

