# Multiple Masking

**URL:** https://forum.kirupa.com/t/multiple-masking/27125
**Category:** flash
**Created:** [July 30, 2003, 11:17am UTC](https://forum.kirupa.com/t/multiple-masking/27125 "2003-07-30T11:17:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![fadi](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@fadi](https://forum.kirupa.com/u/fadi)
#### Post date: [July 30, 2003, 11:17am UTC](https://forum.kirupa.com/t/multiple-masking/27125/1 "2003-07-30T11:17:36Z")

</div>

Hey guys, ive seen this done in front of my eyes by someone else, but for some reason i cant figure it out.

I have an image, and I want to get shapes masking the image as the shapes move along… I know how to mask, but not multiple masking the same image, this is wot i have done so far.

[View it here](http://www.rflan.org/streetgear.html)

I will really appreciate the help

thanks heaps

---

<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: [July 30, 2003, 12:45pm UTC](https://forum.kirupa.com/t/multiple-masking/27125/2 "2003-07-30T12:45:09Z")

</div>

make a movieclip of the mask and place it on the image and  
myMovieClip.setMask (maskMovieClip)

The following sample code uses the movie clip circleMask to mask the movie clip theMaskee.

theMaskee.setMask(circleMask);

---

<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: [July 31, 2003, 12:48am UTC](https://forum.kirupa.com/t/multiple-masking/27125/3 "2003-07-31T00:48:27Z")

</div>

thanks man… but is there any chance you can explain it better… or even show me the .fla file ?? I would really appreciate it… or even if you know some tutorials that have exactly wot i need??

Thanks a lot

---

<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: [July 31, 2003, 5:23am UTC](https://forum.kirupa.com/t/multiple-masking/27125/4 "2003-07-31T05:23:55Z")

</div>

Hey I figured it out…  
All I had to do is put all my animated shapes in one movie clip… Put that movie clip in a layer and set it to mask over the image… really really easy… thats why i couldnt think of it, coz i thought there was quite a bit to it… IM A DODO!!

but thanks alimirza for helping out!!

---

<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: [August 2, 2003, 5:05am UTC](https://forum.kirupa.com/t/multiple-masking/27125/5 "2003-08-02T05:05:25Z")

</div>

My pleasure and sorry I wasn’t online for three days otherwise I could have explained u earlier.  
But Its great u did it yourself now u won’t forget it ever;)

---

<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: [August 2, 2003, 7:06am UTC](https://forum.kirupa.com/t/multiple-masking/27125/6 "2003-08-02T07:06:44Z")

</div>

hahaha true, i will definately not forget that, its very useful and I will be using it quite a bit…
