# ColorMatrix

**URL:** https://forum.kirupa.com/t/colormatrix/217494
**Category:** flash
**Created:** [February 27, 2007, 2:57pm UTC](https://forum.kirupa.com/t/colormatrix/217494 "2007-02-27T14:57:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mnikolic](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mnikolic/32/3364_2.png) [@mnikolic](https://forum.kirupa.com/u/mnikolic)
#### Post date: [February 27, 2007, 2:57pm UTC](https://forum.kirupa.com/t/colormatrix/217494/1 "2007-02-27T14:57:10Z")

</div>

Hello flash coders,

I need some help with color transformations. I want to change dynamicly the hue of a MC with a transition/tween, something like fading from one image to another with different colors. I tried both G. Skinner’s and M. Klingman’s colorMatrix class, but the tweening they use is bound to some object. In G.S’s demo there’s a scroll bar, and in M.K’s he uses two images. I want to use one of their classes but be able to transform the color of one MC just with a function: onSomeEvent … { tweenHue for myMC from thisHUE to newHUE }.

Thanks in advance
