Flex by default embeds css into your application. For Dynamic css, you
need to use the styleManager class and load the compiled style swf
(http://livedocs.adobe.com/flex/3/html/help.html?content=styles_10.html
)

 

________________________________

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ghost Hack
Sent: Friday, September 03, 2010 6:25 PM
To: flexcoders@yahoogroups.com
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 
 administra...@celstream.com immediately.
______________________________________________________________________________

Reply via email to