what is the best way to use more than 1 font color with textField.htmlText
I already use code like:
textField.htmlText = "blaa blaa" + "< u >"+w+"< /u >"+"blaa blaa"
How can I make that to define a specific color as well?
what is the best way to use more than 1 font color with textField.htmlText
I already use code like:
textField.htmlText = "blaa blaa" + "< u >"+w+"< /u >"+"blaa blaa"
How can I make that to define a specific color as well?
var style:StyleSheet = new StyleSheet();
var underline:Object = new Object();
underline.fontWeight = "bold";
underline.color = "#FF0000";
underline.display = "inline";
style.setStyle("u", underline);
textField.styleSheet = style;
textField.htmlText = "blaa blaa" + "< u >"+w+"< /u >"+"blaa blaa"