Skip navigation
Currently Being Moderated

Multiply Masks to one Layer question.

Dec 5, 2012 10:51 AM

1. Can I use another mask in this code type?
2. It is possible that the location of the mask remains even after closing the swf file?

3. Why disappears circle soft outline?

 

Thanks!
http://i1146.photobucket.com/albums/o523/intssed/Flash%20Mask/Mask.gif

 
Replies
  • kglad
    72,235 posts
    Jul 21, 2002
    Currently Being Moderated
    Dec 5, 2012 11:10 AM   in reply to intssed

    1. i don't understand the question.

    2. yes, use a sharedobject

    3. enable the cacheAsBitmap properties of mask_mc and bane_mc.

     
    |
    Mark as:
  • kglad
    72,235 posts
    Jul 21, 2002
    Currently Being Moderated
    Dec 5, 2012 12:50 PM   in reply to intssed

    yes, but you can't mask a mask and have it do what you would expect, you can't mask more than 1 object with the same mask and you can't assign more than 1 mask property to a displayobject at any one time.

     

    if you want to apply mask1, mask2,.., maskN to bane_mc, you would use something like:

     

    var parent_mask:Sprite=new Sprite();

    for(var i:int=1;i<=N;i++){

    parent_mask.addChild(this["mask"+i]);

    }

    bane_mc.mask=parent_mask.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points