It has been a while since I've done this but have you looked at the
getPixels method? You should be able to pass a rectangle to that method to
get the area you desire.

hth
Bob
<http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html>

On Thu, Apr 22, 2010 at 5: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