Avatar

Level 10

Hi Roger,

You could, with script on the exit event of the textfield. If the default text was "This is the default text", then the following would change the colour of the text to red.

if (this.rawValue != "This is the default text")

{

     this.font.fill.color.value = "255,0,0";

}

else

{

     this.font.fill.color.value = "0,0,0";

}

You can use a similar exit script to change the caption colour or to make different changes.

Hope that helps,

Niall