# Masking duplicates under 1 mask

**URL:** <https://forum.kirupa.com/t/masking-duplicates-under-1-mask/35315>\
**Category:** Uncategorized\
**Created:** [November 12, 2003, 5:30pm UTC](https://forum.kirupa.com/t/masking-duplicates-under-1-mask/35315 "2003-11-12T17:30:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobaphatt](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@bobaphatt](https://forum.kirupa.com/u/bobaphatt)\
**Post date:** [November 12, 2003, 5:30pm UTC](https://forum.kirupa.com/t/masking-duplicates-under-1-mask/35315/1 "2003-11-12T17:30:51Z")

</div>

ok, here’s the deal, i have a mask called [masker],  
and a movieclip called [fotoframe]  
the fotoframe is masked by masker. now i do

duplicatemovieclip(fotoframe, “fotoframe”+i, etcetc)  
and movieclip.setmask(masker) for the just created duplicate,  
(OK, inside a “while” thingy, among other things)

because i want all my duplicates under this one mask. but when i run it, only the last duplicated movieclip is masked…  
How can i keep ALL duplicates under this one mask?

:pope:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 12, 2003, 5:44pm UTC](https://forum.kirupa.com/t/masking-duplicates-under-1-mask/35315/2 "2003-11-12T17:44:31Z")

</div>

This question has been asked and answered many times: put all your duplicates inside a container clip and mask the container.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 12, 2003, 5:52pm UTC](https://forum.kirupa.com/t/masking-duplicates-under-1-mask/35315/3 "2003-11-12T17:52:29Z")

</div>

sorry bout that, but erm, how do i do that?
