# RGB Fade

**URL:** <https://forum.kirupa.com/t/rgb-fade/127148>\
**Category:** Uncategorized\
**Created:** [October 30, 2004, 11:34pm UTC](https://forum.kirupa.com/t/rgb-fade/127148 "2004-10-30T23:34:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgt](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@bgt](https://forum.kirupa.com/u/bgt)\
**Post date:** [October 30, 2004, 11:34pm UTC](https://forum.kirupa.com/t/rgb-fade/127148/1 "2004-10-30T23:34:35Z")

</div>

Hi, I’m trying to find a simple (10 lines of code maximum) way to fade my movie clip color to another color. I’ve got this code on my movie:

mc\_test.onEnterFrame = function() {  
color = 0x00FF00;  
my\_color = new Color(mc\_test);  
my\_color.setRGB(color);  
};

it works but it doen’t fade.  
I know I can get the desired effect with tweens, but I want to use actionscript on this.  
Can anyone give me a hand?  
I’m hanging here!!  
thkx.
