#$%(%)$@!! ColorTransform. Help!
Ok, here's my code in _root:
import flash.geom.ColorTransform;
import flash.geom.Transform;
myColor = 'FF0000';
var colorTrans:ColorTransform = new ColorTransform();
colorTrans.rgb = Number('0x' + myColor);
var trans:Transform = new Transform(some_random_mc);
trans.colorTransform = colorTrans;
This *should* change the color of the movie clip "some_random_mc" to solid red, but instead, I get compile errors saying that the class ColorTransform can't be created. I checked my publish settings, and I do have AS2 and Flash 8 selected. Any ideas?