You should be able to draw() the view the same way as any MovieClip (no
special session needed).

If that doesn't work out, since the center of the view is not the top left
of the screen, you can stick the view inside of yet another MovieClip, and
draw that.

-Pete

On Thu, Aug 5, 2010 at 11:49 AM, upressplay <[email protected]> wrote:

> I'm working on a project where you can design a pattern. The goal is
> to allow the user to save the design and save it for other users to
> vote on it later. I need to be able to take a screen grab(bitmapdata)
> of the view. What is the best way to do this?
>
> I tried using
> view.session = new BitmapRenderSession(1);
>
> then...
> var view_snapshot:BitmapData = view.getBitmapData();
> var view_bitmap:Bitmap = new Bitmap(view_snapshot);
>
> The bitmap is working, but the quality isn't very good. Jagged edges.
> And for some reason it's not rendering changes to the object
> instantly. Basically you have to spin the design to see what you just
> changed in the object. When I don't use BitmapRenderSession the
> updates are happening as intended.
>
> Am I trying to go at this in the wrong way? How do I create a still
> image of the view?
>
> Thanks in advance.
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to