4 Replies Latest reply on Jun 22, 2009 9:57 AM by diazruy

    BitmapData.draw is not rendering contents outside visible portion of Canvas


      My application has a Canvas with a bunch of elements on it and which has a scrollbar to see the full contents of it, i.e. the Canvas has a height of 200px, but the objects contained within extend past the 200px all the way to 400px. When I pass this canvas object to my BitmapData instance which I have created with a height of 400px, the result is that I get a 400px image but only the top 200px are actually rendered. If I move the scrollbar down and call draw, I get the bottom 200px of the canvas rendered on the top half of the BitmapData.


      Is there a way to render the full contents of the Canvas object and not only what is currently visible in the viewport?