Re: [flexcoders] Loading CSS dynamically at runtime?

2005-05-23 Thread dave buhler
I would guess MM chose to force users to set the styles as a sep. AS file (which I think is how css values are converted) at compile time rather than slow down the user's box with setStyle() at runtime. setStyle() is extraordinarily CPU intensive. I could be wrong. I'm diggin' back into memory f

Re: [flexcoders] Loading CSS dynamically at runtime?

2005-05-23 Thread Clint Modien
this might help... i came across this a few days ago and thought it was an amazing tool to help me with css   http://www.markme.com/mc/archives/FlexStyleExplorer.html   you can download the code here..   http://www.markme.com/mc/archives/FlexStyleExplorer.zip   On 5/23/05, Richard Butler <[EMAIL

Re: [flexcoders] Loading CSS dynamically at runtime?

2005-05-23 Thread Manish Jethani
On 5/23/05, Richard Butler <[EMAIL PROTECTED]> wrote: > Has anyone tried loading in a CSS stylesheet dynamically at runtime, or > know how it could be done? The only way I can think of is using the good > old Flash way using TextField.StyleSheet's parseCSS() and then doing a > few loops, but is th

[flexcoders] Loading CSS dynamically at runtime?

2005-05-23 Thread Richard Butler
Hi all, Has anyone tried loading in a CSS stylesheet dynamically at runtime, or know how it could be done? The only way I can think of is using the good old Flash way using TextField.StyleSheet's parseCSS() and then doing a few loops, but is there a more up-to-date method within Flex? I understan