# \[AS2\] setMask 2 times on same mc

**URL:** <https://forum.kirupa.com/t/as2-setmask-2-times-on-same-mc/294747>\
**Category:** flash\
**Created:** [August 19, 2009, 10:59am UTC](https://forum.kirupa.com/t/as2-setmask-2-times-on-same-mc/294747 "2009-08-19T10:59:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zahari4i](https://avatars.discourse-cdn.com/v4/letter/z/ecccb3/32.png) [@zahari4i](https://forum.kirupa.com/u/zahari4i)\
**Post date:** [August 19, 2009, 10:59am UTC](https://forum.kirupa.com/t/as2-setmask-2-times-on-same-mc/294747/1 "2009-08-19T10:59:28Z")

</div>

Hi guys,

Suppose I have 3 mc’s : mc1, mc2 and mc3.

trying to do mc1.setMask(mc2) works fine.  
then if I try to apply another mask on mc1, the last mask will work but the first one already applied will not.

So:

mc1.setMask(mc2);  
mc1.setMask(mc3);

Only the last mask will show.  
I tried to search for documentation on setMask but without any luck. Which may be the problem?

Thanks
