# Mask Duplicated MC not working

**URL:** https://forum.kirupa.com/t/mask-duplicated-mc-not-working/54653
**Category:** flash
**Created:** [June 16, 2004, 2:34pm UTC](https://forum.kirupa.com/t/mask-duplicated-mc-not-working/54653 "2004-06-16T14:34:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rlLife](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@rlLife](https://forum.kirupa.com/u/rlLife)
#### Post date: [June 16, 2004, 2:34pm UTC](https://forum.kirupa.com/t/mask-duplicated-mc-not-working/54653/1 "2004-06-16T14:34:23Z")

</div>

How come when I take a shape and make it duplicate with actionscript.

```auto
for (var i = 0; i<50; i++) {
	box.duplicateMovieClip(i, i);
}
for (var i = 0; i<25; i++) {
	box2.duplicateMovieClip(i, i);
}

```

the mask that i had over that shape stops working? Has anyone else had this happen. I could just put all the shapes on the stage and it works under the mask. But i think it is better to not have to lay out all the shapes so that is why i wanted to make them duplicate. C:-)
