I use this with good success:
//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;
/******************************/
//load css
myStyle = new TextField.StyleSheet();
myStyle.load("fla.css");
myText.styleSheet = myStyle;
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Wednesday, March 22, 2006 9:43 AM
Subject: [Flashcoders] CSS with TextArea
Hi,
I want to apply a CCS on on text in a textArea.
I try:
textStyle= new TextField.StyleSheet();
textStyle.load("style.css");
textArea.setStyle(_style);
but, this don't work!
I want to set a textArea.
but, I get StyleSheet from TextField....
I think this is the problem...
Somebody can help me?
Rodrigo Schramm
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com