import flash.geom.ColorTransform;But when I run this I got this error:
var myCT:ColorTransform = new ColorTransform();
myCT.color = 0x8e5823;
myMovieClip.transform.ColorTransform = myCT;
"Cannot create property ColorTransform on flash.geom.Transform"
After pulling my hair out (just for a bit) I found that I had capitalized the colorTranform property of the MovieClip. Once I changed the last line to this:
myMovieClip.transform.colorTransform = myCT;...it worked fine. But since I didn't get any Google result for that error I figured I would put this in.
Simple mistake but very annoying ;-)
1 comment:
life saver :) 10x
Post a Comment