# \[Flash 8\] Changing de color of a dynamic text field

**URL:** <https://forum.kirupa.com/t/flash-8-changing-de-color-of-a-dynamic-text-field/251895>\
**Category:** flash\
**Created:** [February 13, 2008, 5:59pm UTC](https://forum.kirupa.com/t/flash-8-changing-de-color-of-a-dynamic-text-field/251895 "2008-02-13T17:59:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![botonzico](https://avatars.discourse-cdn.com/v4/letter/b/f07891/32.png) [@botonzico](https://forum.kirupa.com/u/botonzico)\
**Post date:** [February 13, 2008, 5:59pm UTC](https://forum.kirupa.com/t/flash-8-changing-de-color-of-a-dynamic-text-field/251895/1 "2008-02-13T17:59:26Z")

</div>

Hallo,

I have a xml menu bar with the menu titles in black. This titles are loaded from an xml file into a dynamic text field inside a movieclip. Well, i would like to set the color of the menu items to red when clicked and back to black when any other menu item is clicked. I know there is a way with actionscript (i have been going on circles around the color class the hole afternoon :crazy:) but i cant find it (i admit, im quite a dummy with AS).

Can anyone help?

thanks!
