# Removing Color

**URL:** <https://forum.kirupa.com/t/removing-color/80668>\
**Category:** flash\
**Created:** [February 23, 2005, 8:17pm UTC](https://forum.kirupa.com/t/removing-color/80668 "2005-02-23T20:17:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deland01](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@deland01](https://forum.kirupa.com/u/deland01)\
**Post date:** [February 23, 2005, 8:17pm UTC](https://forum.kirupa.com/t/removing-color/80668/1 "2005-02-23T20:17:04Z")

</div>

Ive got a button with black text that text fades blue on(rollOver) & I also have this script attached to the button.

on(press) {  
myColor = new Color(this.servicesTxt);  
myColor.setRGB(0x990000);  
}  
on(release) {  
myColor = new Color(this.servicesTxt);  
myColor.setRGB(0x000000);  
}

Although the .setRGB turns the button text back to black the button text doesnt fade to blue.

How do I remove the .setRGB(0x990000); on(release) ???
