Hi guys am in a bit of a mess here.:hr:
Here is what am trying to do.
createDuplicate function helps me to create a duplicate movieclip. Now I want to bitmap fill this duplicate mc. Is this possible? Am so confused please help…
private function createDuplicate(mc:MovieClip):Sprite
{
var thisBitmapData:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight, true, 0x00000000);
thisBitmapData.draw(mc);
var thisBitmap:Bitmap = new Bitmap(thisBitmapData);
thisBitmap.smoothing = true;
var newInstance:Sprite = new Sprite();
newInstance.cacheAsBitmap = true;
newInstance.addChild(thisBitmap);
return newInstance;
}
Cheers