[osflash] How do you do Masking? Do we need another new way?
iiley
iiley.chen at gmail.com
Wed Mar 7 05:01:49 EST 2007
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 <tenegri at tengerstudio.com>:
>
>
> 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
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
--
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20070307/1c7a098b/attachment-0001.htm
More information about the osflash
mailing list