changing colors of a textfield through clicking a button
I want to change the value, the color and the fillcolor of a textfield after clicking a button.
Changing value works fine, but changing colors not. I tried several forms, must be a general problem, that i do not see..
var summe = 0;
var feld1 = this.getField("firstvalue");
var feld2 = this.getField("secondvalue");
var ergebnis = this.getField("sumofvalues")
summe = feld1.value + feld2.value;
ergebnis.value = summe ;
ergebnis.textcolor =color.red;
ergebnis.fillcolor =color.blue;
any help appreciated
