this might help... i came across this a few days ago and thought it was an amazing tool to help me with css
you can download the code here..
On 5/23/05, Richard Butler <[EMAIL PROTECTED]> wrote:
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 understand the <mx:Style> tag will only let you import at compile
time, is that correct?
Cheers guys.
Rich
---------------------------------------------------------
Richard Butler.
Senior Creative Architect.
Monochrome.
Upper Floor
164a Portsmouth Road
Cobham
Surrey KT11 1HS.
Free: 08000 199 742
Tel: +44 (0) 1932 862 874
Fax: +44 (0) 1932 866 065
www.monochrome.co.uk
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

