jfsomers
07-07-2004, 04:02 AM
I've gone through numerous threads in these forums and I haven't seen anything that might resolved what I hope is a simple problem of mine.
I made a textArea w/ html=true and edit=false. No matter what I try, the font color of the text remains black unless I change html=false at which point my text can't have the identations/breaks that I want it to.
I tried using _globals
_global.style.setStyle("color", 0xFFFFFF);
_global.style.setStyle("themeColor", "haloBlue")
_global.style.setStyle("fontSize", 12);
_global.style.setStyle("fontFamily", "Verdana");
_global.style.setStyle("backgroundColor", undefined);
and they work fine for every other componet (radial, button, combobox, etc.) but it doesn't change the text in the textArea component.
I aslo tried using this:
TextArea.setStyle("borderStyle", "none");
_global.styles.TextArea.setStyle("backgroundColor", undefined);
TextArea.setStyle("color", 0xFFFFFF);
The border and background go transparent (which is what I want) but the text remain black.
In both cases the text was added using the TextArea.text = "<insert text>"; method.
What I'm I doing wrong?
Thanks in advance for the help
I made a textArea w/ html=true and edit=false. No matter what I try, the font color of the text remains black unless I change html=false at which point my text can't have the identations/breaks that I want it to.
I tried using _globals
_global.style.setStyle("color", 0xFFFFFF);
_global.style.setStyle("themeColor", "haloBlue")
_global.style.setStyle("fontSize", 12);
_global.style.setStyle("fontFamily", "Verdana");
_global.style.setStyle("backgroundColor", undefined);
and they work fine for every other componet (radial, button, combobox, etc.) but it doesn't change the text in the textArea component.
I aslo tried using this:
TextArea.setStyle("borderStyle", "none");
_global.styles.TextArea.setStyle("backgroundColor", undefined);
TextArea.setStyle("color", 0xFFFFFF);
The border and background go transparent (which is what I want) but the text remain black.
In both cases the text was added using the TextArea.text = "<insert text>"; method.
What I'm I doing wrong?
Thanks in advance for the help