02-05-2011 05:02 PM - edited 02-05-2011 05:03 PM
var bmp:BitmapData = new BitmapData(this.width,this.height); bmp.draw(this); drawingCanvas.graphics.lineStyle(); drawingCanvas.graphics.beginBitmapFill(bmp); drawingCanvas.graphics.drawRect(this.x,this.y,this
Solved! Go to Solution.
02-05-2011 05:34 PM
You can't just add the BitmapData to a Bitmap and add that as a child on the object?
If for some reason you must draw this into your object's graphics object, then I believe you have to use a trick involving a combination of a translation Matrix and drawRect().
02-05-2011 05:47 PM
The reason I can't just add it as a child is because I need to save the final image to a file. If there are multiple children tied to this image I don't believe I can save all of them to a file, can I?