Flex/actionscript snapshot with clipping rectangle and scaling matrix
问题 var snapshot:ImageSnapshot = ImageSnapshot.captureImage(someSprite); var file:FileReference = new FileReference(); file.save(snapshot.data,'abc.png'); In the above code I am able to capture an image. But I also want to apply a scalingMatrix(for zoomIn/Out) and a clipping rectangle to it. How to do it? I tried capturebitmapdata too, but with that I can't even get a proper image. See here. So I don't want to use that. 回答1: sw = someSprite.stage.stageWidth; sh = someSprite.stage.stageHeight; var