Re: [flexcoders] External CSS file in Flex 4

2010-09-04 Thread Haykel BEN JEMIA
Hi, you could put in 'mycss.css' the default settings and then with PHP only send the values that are specific for the user in a simple format and apply them with 'styleManager.setStyleDeclaration'. Haykel Ben Jemia Allmas Web & RIA Development http://www.allmas-tn.com On Fri, Sep 3, 2010 at

Re: [flexcoders] External CSS file in Flex 4

2010-09-03 Thread Geckko
Hi Ghost: Have you tried to compile the CSS files and then use the StyleManager? I have something similar in my app and i use StyleManager to load the different CSS El 03/09/10 14:54, Ghost Hack escribió: Hi people, i'm having some trouble while using the tag source="assets/mycss.css" />.

RE: [flexcoders] External CSS file in Flex 4

2010-09-03 Thread Pearl Fernandes
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.

RE: [flexcoders] External CSS file in Flex 4

2010-09-03 Thread Pearl Fernandes
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of claudiu ursica Sent: Friday, September 03, 2010 6:49 PM To: flexcoders@yahoogroups.com 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

Re: [flexcoders] External CSS file in Flex 4

2010-09-03 Thread Alex Harui
Flash.text.StyleSheet can do some limited parsing of .CSS. You can then copy the values into a Flex CSSStyleDeclaration. On 9/3/10 6:19 AM, "claudiu ursica" wrote: Even when loaded run-time the css file comes compiled as a .swf. So what you are trying to achieve there is kind of impossi

Re: [flexcoders] External CSS file in Flex 4

2010-09-03 Thread claudiu ursica
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. C From: Ghost