Question
The code from "help" doesn't work?\
Hi
I'm trying to change the color of the font of the TextArea component to white. I use this code which I copy and paste directly from "help":
import mx.styles.CSSStyleDeclaration;
if (_global.styles.TextArea == undefined) {
_global.styles.TextArea = new CSSStyleDeclaration();
}
_global.styles.TextArea.setStyle("color", 0xFFFFFF);
Doesn't work...
I try this one, again from the "help":
myTextAreaComponent.setStyle("color", 0xFFFFFF)
Again doesn't work...
Any clue????
Also, if a movie with a TextArea component is under a mask the text isn't seen. What can I do about it? But this is a less significant problem, the color of the text is what concerns me most.
I'm trying to change the color of the font of the TextArea component to white. I use this code which I copy and paste directly from "help":
import mx.styles.CSSStyleDeclaration;
if (_global.styles.TextArea == undefined) {
_global.styles.TextArea = new CSSStyleDeclaration();
}
_global.styles.TextArea.setStyle("color", 0xFFFFFF);
Doesn't work...
I try this one, again from the "help":
myTextAreaComponent.setStyle("color", 0xFFFFFF)
Again doesn't work...
Any clue????
Also, if a movie with a TextArea component is under a mask the text isn't seen. What can I do about it? But this is a less significant problem, the color of the text is what concerns me most.