# How to get duplicated MCs to mask?

**URL:** <https://forum.kirupa.com/t/how-to-get-duplicated-mcs-to-mask/217339>\
**Category:** flash\
**Created:** [February 26, 2007, 4:03am UTC](https://forum.kirupa.com/t/how-to-get-duplicated-mcs-to-mask/217339 "2007-02-26T04:03:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)\
**Post date:** [February 26, 2007, 4:03am UTC](https://forum.kirupa.com/t/how-to-get-duplicated-mcs-to-mask/217339/1 "2007-02-26T04:03:22Z")

</div>

Okay I have a mc (\_root.mainMC). Inside is a circle (mainMC.circle) and I have a line in the middle of that circle (mainMC.line).

I masked the two layers within so now all you see is a line. I duplicated the line using actionscript (mainMC.line2) and rotated it 90 degrees. You should see a plus now but it’s not masking. Any ideas?

![](http://img516.imageshack.us/img516/1204/untitled2yj5.jpg)

1. Unmasked.
2. Masked. The line is duplicated and rotated using:

```auto
mainMC.line.duplicateMovieClip("line" + 2, this.getNextHighestDepth());
mainMC.line2._rotation = 90;

```

However, you can see that the second line is not masked.

1. How I want it to look. The line will be duplicated numerous times.

Any clues?
