I have extended the TextInput class and I have not been able to set the color of the text. I can do it on the stage to a normal textInput with this code:

red_btn.onRelease = function() {
  // works
  redTextInput_txt.setStyle("color", "0xFF0000");
// does not work except if the text field is first blank and then text is typed in
  // assigning text through the text property cause it to revert to black
  extendedTextInput_txt.setStyle("color", "0xFF0000");
}

In my class i try to set this same value and the text color does not change at all

theOwner.setStyle("color", 0xFF0000);
label.setStyle("color", 0xFF0000);
this.setStyle("color", 0xFF0000);
theOwner.setStyle("color", "0xFF0000");
label.setStyle("color", "0xFF0000");
this.setStyle("color", "0xFF0000");


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

Reply via email to