mike05
11-06-2009, 06:01 PM
I'm looking back at some of my old code and I can't seem to figure out why this works....
var myShapeColour:uint = 0x000000;
var myColour:ColorTransform;
myColour = shape_mc.transform.colorTransform;
myColour.color = myShapeColour;
shape_mc.transform.colorTransform = myColour;
Doesn't it seem redundant?
Can someone explain how the colorTransform works?
var myShapeColour:uint = 0x000000;
var myColour:ColorTransform;
myColour = shape_mc.transform.colorTransform;
myColour.color = myShapeColour;
shape_mc.transform.colorTransform = myColour;
Doesn't it seem redundant?
Can someone explain how the colorTransform works?