I’m trying to grab some MC and turn it into bitmapData, works ok. Just an example code, try in a keyframe
import flash.display.Sprite;
import flash.display.MovieClip;
var r = new Sprite();
r.graphics.beginFill(0xFF0000,0.75)
r.graphics.drawRect(0,0,100,100)
var mc = new MovieClip();
mc.addChild(r)
r.rotationX = 60
r.rotationY = 30;
r.rotationZ = 15;
addChild(mc)
var bmd = new BitmapData(200,200,false,0x00FF00)
var bm = new Bitmap(bmd)
addChildAt(bm,0)
bmd.draw(mc);
bm.alpha = 0.5;
mc.alpha = 0.5;
but as soon as the position of the mc being grabbed changes, the bitmap grab doesn’t reflect those changes, try adding this line at the end
mc.x = mc.y = 200;
What would be the best next step to correct this?