Hi,
My app takes a screensave of an area of the stage and save it to the camera roll. The problem is that cameraRoll.addBitmapData(bitmapDataA); kicks in before the draw is done.
Is there a way to use oncomplete events on the draw-function or something like that?
Thanks,
Dan
bitmapdata = new BitmapData(stage.stageWidth, stage.stageHeight);
bitmapDataA = new BitmapData(1536, 1536);
bitmapdata.draw(stage);
bitmapDataA.copyPixels(bitmapdata, new Rectangle(0,236, 1536, 1772), new Point(0, 0));
cameraRoll.addBitmapData(bitmapDataA);