Dynamic Text Question

Can you change the color of a dynamic text font using actionscript? I’m trying to make it so that when a user clicks a button on my menu, each button will make the dynamic text change a specific color.