Hi,

I have some questions about css.

First, the use of <mx:Style source="css/main.css" />.

In this css file, i have declare component as class selectors. All
these styles are accessible via styleManager and it works for elements
that doesn't display html text.

But, I want to use these class selectors in an html text.

Is there a way to get the external css loaded at compile time under a
stylesheet object to set any textfield elements ? It seems not.

So, is the only way to get css style in html, is to load external css
at runtime, create a new stylesheet object, parse the css text and
then set the textfield elements with this stylesheet ?

If so why this constraint ?

Why the styleManager is unable to provide a stylesheet object and
cannot be enumerated ?

And finally why the Text component has not a styleSheet property like
the textArea ?

Ah, i feel better...

A lot of questions i know.

Thanks for your help, it's quite frustrating.






--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 



Reply via email to