I’m putting a mask on an image that is being animated around the stage which works fine, but when i change the mask using as3 the mask stops following the image and stays in one place.. while the image moves around the stage… is there a way to force the mask to stick on the image?
// set the current mask to null
face_mc.face_one.mask = null;
// assign the new mask
face_mc.face_one.mask = customShape;
// the movie clip is animated by this method whcih tracks a point in a video clip
function cuepointlistener(evt:MetadataEvent):void{
paramObj = evt.info.parameters;
var values:Array = paramObj["Track Point 1_Attach Point"].split(/,/);
face_mc.x = values[0];
face_mc.y = values[1];
}
You could put both in a
Spriteand move that instead?