2 Replies Latest reply on Aug 3, 2006 8:03 AM by tivins

    Mask multiple MovieClip

    tivins
      Hi !
      Is it possible to mask more than one movieclip in action script.
      I see that's possible in the gaphical author environment.


      _root.attachMovie("mask_mc","mask_mc",10);
      _root.attachMovie("a_mc","a_mc",0);
      _root.attachMovie("another_mc","another_mc",1);
      _root.a_mc.setMask(_root.mask_mc);
      _root.another_mc.setMask(_root.mask_mc);

      This simple code don't work...

      Thanks a lot.
      Tivins.