[Flashcoders] CSS with TextArea

2006-03-22 Thread [EMAIL PROTECTED]
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

Re: [Flashcoders] CSS with TextArea

2006-03-22 Thread Karthik
textStyle= new TextField.StyleSheet(); textStyle.load(style.css); textArea.setStyle(_style); but, this don't work! What is _style? You should be using textStyle. The docs have a working example btw. You probably shouldn't be using reserved words (regardless of case) for instance names.

Re: [Flashcoders] CSS with TextArea

2006-03-22 Thread Jim Berkey
; - Original Message - From: [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com 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

Re: [Flashcoders] CSS with TextArea

2006-03-22 Thread Rodrigo Schramm
); myText.styleSheet = myStyle; - Original Message - From: [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com 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

Re: [Flashcoders] CSS with TextArea

2006-03-22 Thread Rodrigo Schramm
Ops... _style = textStyle. Karthik wrote: textStyle= new TextField.StyleSheet(); textStyle.load(style.css); textArea.setStyle(_style); but, this don't work! What is _style? You should be using textStyle. The docs have a working example btw. You probably shouldn't be using reserved