AS3 bitmapData.draw() with Masked DisplayObject


/ Published in: ActionScript 3
Save to your folder(s)

If you need to use bitmapData.draw() method on a DisplayObject that has a mask as a child then it can be awkward getting it to work properly. Using Thomas John's getRealBounds method is a great solution.

URL: http://blog.open-design.be/2010/01/26/getbounds-on-displayobject-not-functioning-properly/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.