If you "cancel" the TextFormat you should be able to apply textColor, i.e.
_label.setStyle("textFormat", new TextFormat(null, null, null)); _label.textField.textColor = 0xff0000; But then you may as well just do: _label.setStyle("textFormat", new TextFormat(null, null, 0xff0000)); ;) Kenneth Kawamoto http://www.materiaprima.co.uk/ On 21/09/2010 10:21, Alexander Farber wrote:
Hello, does anybody please know, why I can only set the background color here? var _label:Label = new Label(); _label.text = 'should be red'; _label.textField.background = true; _label.textField.backgroundColor = 0x00FF00; _label.textField.textColor = 0xFF0000; addChild(_label); Thank you Alex
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders