sourceRect is one of the parameters of the copyPixels method. It describes
which is the rectangle to be used when copying. No masking is necessary.
This has the same effect as limiting the target area to a specific
rectangle.

http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001400.html

Zeh

On Thu, Apr 22, 2010 at 8:37 AM, Elia Morlin <[email protected]> wrote:

> Say I have a BitmapData that is 500x500 pixels.
> I want to restrict the area that will be updated in a series of copypixel
> operations.
> For example I want to restrict the rectangle that will be updated in the
> target Bitmapdata to Rectangle(100,100,50, 50).
> How do I do that without using a mask?
>
> Thanks
> Elia
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to