I have a MovieClip that consists of multiple layers, one of those layers is an animated background Shape. let's call this MyMovieClip with the background shape have the instance name "mcBackground";
I'm adding the MovieClip to the stage from ActionScript by:
var myMovieClip = new MyMovieClip();
addChild(myMovieClip);
This works fine and when the movie clip is added to the stage it plays as expected (background is moving).
The problem is when I try to apply a colorTransform to the background shape, it stops from moving. what I'm doing is this inside the MyMovieClip class:
var ct:ColorTransform = mcBackground.transform.colorTransform;
ct.color = some color value;
mcBackground.transform.colorTransform = ct;
When I do this, the background is colored correctly, but it doesn't animate anymore, it seems to be stuck at frame 1 as far as displaying although any code I have in later frames is executed. So it looks like a display issue.
what's the problem here? Is changing transform.colorTransform possible to animated shapes?
let me know if the description is not clear and I'll try to explain more.