Unfortunately there is no "html" property, and even this is not working:

var _label:Label = new Label();
_label.textField.background = true;
_label.textField.backgroundColor = 0x00FF00;

_label.textField.textColor = 0xFF0000;
_label.textField.text = "should be red";
_label.textField.htmlText = "should be red";
_label.text = "should be red";
_label.htmlText = "should be red";
_label.textField.textColor = 0xFF0000;

addChild(_label);

(Yes, I'm aware of TextFormat and <font color="red">...</font> workarounds,
but wonder why is textField.backgroundColor working and textColor is not)

Regards
Alex
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to