I tried to create a Screenshot from a very big canvas.
The only solution I found was to generate a Bitmap/BitmapData (flash.display.Bitmap) from that Component.
There are restrictions for the bitmap size...that it is possible to create bitmaps nearly max. 3000px x 3000px.
But the screens are going bigger and bigger...I like to create a big screenshot from a flex component e.g. canvas.
I don´t need the image in a good resolution. I just only need the image.
Is there another way?
will it be possible one day??
you do need to use bitmapdata (you are creating a bitmap after all)
to overcome the size restriction, you could scale down the canvas, take a screenshot and then scale it back up.
thank you Lee.
You remind me of the possibilities of the class Matrix...
thank you thank you
I thought that I have to scale my canvas component first befor I could make the screenshot.
But it is possible to give the function draw a scalling matrix.
var myMatrix:Matrix = new Matrix();
myMatrix.a = myMatrix.d = 0.2;