BitmapData.draw() - Simple question

Can someone explain to me how to get a “drawn” bitmap to be rendered at 0,0 when using a clip rectangle.

To simplify, say I have a 300x300 bitmap inside a movie clip with it’s x,y registered to top left. I want to crop a 100x100 square area from the bottom right corner. My issue is the copied bitmap is drawn with it’s x,y relative to the source image’s x,y coordinates. So when it’s added to the stage it’s 200 pixels in on both the x & y axis.

Any help would be appreciated.



var myBitmapData:BitmapData = new BitmapData(300,300,false);
var clipArea:Rectangle = new Rectangle(200,200,100,100);
var myBitmap:Bitmap = new Bitmap(bmd);

 myBitmapData.draw(targetMC,null,null,null,clipArea,true);

addChild(myBitmapData);