So, I’m trying to use the ColorMatrix filter, but the problem is that it takes a matrix of values which I don’t know how in the world to come up with.
Let’s say I have a hexadecimal value, 0xB01E23, and I want to use it in the ColorMatrix filter so I can tween the ColorMatrix into the color 0x72B643, for instance. However, the matrix takes 20 values, none of which i have any idea on how to come up with from those hexadecimal values.
Does anyone know I can go about doing this? What i’m wanting to write is a function (or however many it takes) to transform the color of a movieclip from one to another while also retaining the integrity of the movie clip so that any image underneath it will still show through. i guess the best way to describe it is a hue/saturation change like photoshop, or like this example:
http://www.quasimondo.com/archives/000599.php
I downloaded his class but am having some trouble implementing it, nor does it allow for me to take two hexadecimal values and transform between them.
If any of you read the other color changer thread (stringy, TheCanadian), you know that I was going to try and do this with the ColorTransform class, but that wasn’t allowing me to see my image through (although the tween was working, just didn’t see through to my image, it was changing color as the class implies, not really hue/saturation of the image).
Thanks in advance for any help anyone can offer.