For a little further play with how you can control text using ActionScripts, let’s change the color of our text on a click without using tweens or button states. Instead we’re going to add a few little things onto the
lesson on getProperty and the
lesson on the text function, and use the textColor function to change the color of the variable value displayed.