Hi, Fabio,

I believe it is only possible to mask with a single clip at any one time
using the DisplayObject.mask property (note that this accepts only type
DisplayObject and therefore does not accept Arrays, etc.). There is nothing
stopping you from making a composite sprite that contains all the clips you
want to make be a mask, though... except if you have other dependencies on
the visual tree not changing.

public function set
mask(value:DisplayObject<http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObject.html>
):void<http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/specialTypes.html#void>

-jonathan



On Sun, Apr 12, 2009 at 8:52 AM, Fabio Pinatti <[email protected]> wrote:

> Hello list,
>
> straight and forward, sorry if the question is stupid: In flash timeline, I
> can mask any elements as I wish, with just a single mask. isn't it possible
> with actionscript? I know, I can add everything to a holder movieclip and
> mask it, but there's nothing like setup a mask property to several
> movieclips, right?
>
> Thanks!
>
> --
> Fabio Pinatti
> :: web.developer
> :::: www.pinatti.com.br
> :::::: 19. 9184.3745 / 3342.1130
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
-jonathan howe
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to