Hey Daniel,
Thanks for adding this long-awaited feature. Really nice.
The TextureMask you referenced above could also be very helpful for alpha-based masking.
We are heavy mask users (we created a spinoff of pixelmask that goes into low-cpu mode when the mask and targets don't change, so reduces cpu cycles, which was the concern with this class).
I just wanted to voice my concern in the way the mask is attached to the coordinate system of the target. We wanted to animate the masks independently of the target (so could move the target and only have a masked window showing, or scale up the mask etc.) The Flash display list method did have some common sense in it.
Is there any easy way of implementing this right now? The only way I could think of is to create a custom displayObjectContainer parent that would apply to the mask the reverse change applied to the object (target.x += 10 - - > mask.x -= 10). Not a clean solution.
Frankly, if someone wants to move both mask and target, they could wrap them into a Sprite and move the Sprite. This approach would add a lot of flexibility.
Thanks