The alternative to compiling the swf would be to parse the css file at
runtime and set each style. This link should help you.



From: [] On
Behalf Of claudiu ursica
Sent: Friday, September 03, 2010 6:49 PM
Subject: Re: [flexcoders] External CSS file in Flex 4



Even when loaded run-time the css file comes compiled as a .swf. So what
you are trying to achieve there is kind of impossible unless you can
somehow compile the swf with PHP. Which I have not heard to be possible
yet but maybe I'm mistaking.




From: Ghost Hack <>
Sent: Fri, September 3, 2010 2:54:38 PM
Subject: [flexcoders] External CSS file in Flex 4


Hi people,

i'm having some trouble while using the tag <fx:Style
source="assets/mycss.css" />. When I generate a release of my project,
Flex 4 embed my CSS file into compiled application, while i want to use
PHP to generate dynamic CSS based on the user configuration in database.

Is there any workaround i'm missing?

Thanks in advance,
Marco Lacava. 


 DISCLAIMER: This electronic message and any attachments to this electronic
 message is intended for the exclusive use of the addressee(s) named herein
 and may contain legally privileged and confidential information. It is the 
 property of Celstream Technologies Pvt Limited. If you are not the intended
 recipient, you are hereby strictly notified not to copy, forward, distribute
 or use this message or any attachments thereto. If you have received this
 message in error, please delete it and all copies thereof, from your system
 and notify the sender at Celstream Technologies or immediately.

Reply via email to