# Change text color on dynamic menu?

**URL:** <https://forum.kirupa.com/t/change-text-color-on-dynamic-menu/126827>\
**Category:** Uncategorized\
**Created:** [October 27, 2004, 4:36pm UTC](https://forum.kirupa.com/t/change-text-color-on-dynamic-menu/126827 "2004-10-27T16:36:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![turtle](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@turtle](https://forum.kirupa.com/u/turtle)\
**Post date:** [October 27, 2004, 4:36pm UTC](https://forum.kirupa.com/t/change-text-color-on-dynamic-menu/126827/1 "2004-10-27T16:36:12Z")

</div>

Hi,  
I have a menu text dynamically loaded from external data. It duplicateMovieClips on stage.  
The thing that does not work is the onRelease statement. The new color is not applied.  
All others (onRollover, onRollout), works perfectly.

How can I set the new color to the text menu when we press on it ?  
Here is the AS code on the MC that is duplicated:

```auto
 
mcbase = new Color(this);
orig = "0xFFFFFF";
overSt = "0x980F08";
 
this.onLoad = function() {
mcbase.setRGB(orig);
}
this.onRollOver = function() {
mcbase.setRGB(overSt);
}
this.onRollOut = function() {
mcbase.setRGB(orig);
}
this.onRelease = function() {
mcbase.setRGB(overSt);
}

```
