# Masking duplicates under 1 mask

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