Mar
18
Setting a Movieclip’s Color Dynamically With ColorTransform
Ok I always forget this so I’m gonna blog about it and hopefully it’ll stick.
If you want to dynamically change the color of a movieclip using hex values use this example
var c:ColorTransform = new ColorTransform(); c.color = 0xFFFFFF; box_mc.transform.colorTransform = c;
Similar Posts
June 3rd, 2008 at 12:59 pm
Thank you alot for this, god I’ve spent quite some time trying to find this.