The minimum is 2, since a movieclip (and also a DisplayObject) is
maskable by its own children, too.

Really? Rakos, i'll do a test right now. If it is, then, rocks! Child is
much better than sister/brother. :)
Thanks Rakos!!!

2007/3/7, Rákos Attila <[EMAIL PROTECTED]>:


i> If you are developing components, and your component need masked
i> bounds, you'll find in fact you need at least THREE display object
i> per one component better, one(A) to be the root of component,
i> one(B) is mask, one(C) is masked, B and C is children of A(In fact
i> this is the design of AsWing AS2 version).

The minimum is 2, since a movieclip (and also a DisplayObject) is
maskable by its own children, too. Although in general I'm satisfied
with the present way of masking, I added a property to visual objects
in my own class library that sets a rectangular mask (using a child
object for masking the parent) and I think that a simple rectangular
clipping region would be a nice thing.

Attila



_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org




--
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to