Hello,
I have a text control in my application and I want to change the text color to red whenever an error occurs. I googled around but no help.
Any help would be appreciated.
Thanks,
Bharani
Views
Replies
Total Likes
var txt:Text = new Text();
txt.setStyle("color", "0xFF0000");
The setStyle() call is how you set style properties in ActionScript.
If this post answers your question or helps, please mark it as such.