I am trying to get the bitmapdata from a MovieClip and create a Sprite with it, because I want to use this Sprite as a mask for the MovieClip, but I don;t know how. I have looked around on how I could do this, but I didn’t find anything. Can someone help me?
EDIT: Also, how will I be able to edit its contents afterwards? For example, how would I change its color?
To draw a
MovieCliponto aBitmapDataobject:Then there are a few functions to manipulate the bitmap data (e.g.
colorTransform()).To draw the bitmap data onto a
Spriteinstance, seeSprite.graphics.beginBitmapFill()