Hey all,
I’m using the ColorTransform class in conjunction with Transform to change the colour of a movie clip. After applying this, it seems it’s no longer possible to view anything attached to the movie clip regardless of code order. I’m assuming this is just the nature of the Transform object? But I’m wondering if anyone else has ever encountered this problem and has managed to work around it? For example when applying this code:
i[SIZE=1]mport flash.geom.Transform;
import flash.geom.ColorTransform;
var blackTrans:Transform = new Transform(mc_ball);
var blackColTrans:ColorTransform = new ColorTransform (0, 0, 0, 1, 0, 0, 0, 0);
blackTrans.colorTransform = blackColTrans;
mc_ball.attachMovie (“mc_square”, “mc_square”, mc_ball.getNextHighestDepth());[/SIZE]
The instance of mc_square is not visible.