Avatar

Correct answer by
Level 10

You can use this.caption.font.fill.color.value to change the text colour. I've done this using the mouseEnter/mouseExit events to create a rollover effect.

Enter:

this.caption.font.fill.color.value = "255,255,255"; //white

Exit:

this.caption.font.fill.color.value = "0,0,0"; //black

View solution in original post