This should be possible, but we're not taking that approach because
loading CSS as text won't get you the graphical or programmatic skins
that a Flex-style CSS often references.

The Flex compilers are free, and it should be easy to give your users a
.bat file or something to turn their CSS file into a SWF.

- Gordon
 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Wabyick
Sent: Wednesday, November 15, 2006 1:18 PM
To: [email protected]
Subject: Re: [flexcoders] Runtime CSS support


That is very cool, but not quite what I am looking for.

We are creating a product where end-users may not have Flex, but we want

them to be able to edit a CSS style sheet to update our application. It 
wouldn't be that hard to create a parsing utility that looks up CSS 
values and overrides them, but I assume this code is available 
somewhere. Perhaps some MX2004/AS2 code that could be ported ...

Thanks,
-Daniel

Joan Lafferty wrote:
>
> To be more specific, in the next update of Flex (which should be 
> soon), there will be the ability to compile a css file into a swf 
> file. These swf files will then be loaded and unloaded at runtime 
> through some new APIs of the StyleManager. We don't want you spending 
> too much time on a problem that will be easily solved in a short 
> amount of time.
>
> Joan
>
>
------------------------------------------------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED]

> *On Behalf Of *Gordon Smith
> *Sent:* Tuesday, November 14, 2006 7:04 PM
> *To:* [email protected]
> *Subject:* RE: [flexcoders] Runtime CSS support
>
> Adobe MIGHT release something soon which MIGHT be of interest to you 
> on this topic. But don't quote me.
>
> - Gordon
>
>
------------------------------------------------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED]

> *On Behalf Of *Daniel Wabyick
> *Sent:* Tuesday, November 14, 2006 3:24 PM
> *To:* [email protected]
> *Subject:* [flexcoders] Runtime CSS support
>
>
> I am in need of the ability to read a CSS file in at runtime and
modify
> existing compile-time CSS declarations. Does anyone know of some code
> that I could leverage to create this functionality?
>
> Thanks,
> -Daniel
>
>  



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links




Reply via email to