# Problem with masking, please help

**URL:** <https://forum.kirupa.com/t/problem-with-masking-please-help/18488>\
**Category:** Uncategorized\
**Created:** [April 17, 2003, 4:17am UTC](https://forum.kirupa.com/t/problem-with-masking-please-help/18488 "2003-04-17T04:17:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zouzoumm](https://avatars.discourse-cdn.com/v4/letter/z/e19b73/32.png) [@zouzoumm](https://forum.kirupa.com/u/zouzoumm)\
**Post date:** [April 17, 2003, 4:17am UTC](https://forum.kirupa.com/t/problem-with-masking-please-help/18488/1 "2003-04-17T04:17:41Z")

</div>

Hi Everyone, I need a little help on this.  
I want to mask a movie clip with another one, the mask is a dynamic square which expands to the whole scene.  
Anyway, I wanted to now what is the relation between the layer of the masked movie and the mask itself,(should they be at the same level or not?):hangover: I use the above script:

```
_root.createEmptyMovieClip("mask", 22);
_root.createEmptyMovieClip("masked", 21);
masked.attachMovie("home_btn", "masky", 0);
_root.masked.masky.setMask("mask");
with (_root.mask) {
	lineStyle(0, 0*000000, 100);
	beginFill(0*FF0000, 40);
	moveTo(38, 361);
	lineTo(saita._x, 361);
	lineTo(saita._x, saita._y);
	lineTo(38, saita._y);
	lineTo(38, 361);
	mask.endFill();
	}

```

Please help

---

<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:** [April 22, 2003, 11:56am UTC](https://forum.kirupa.com/t/problem-with-masking-please-help/18488/2 "2003-04-22T11:56:12Z")

</div>

Hey, saw this thread before.🙂  
Gues it was on flashKit.  
What kinda problem do you have with the mask.

I had a problem with it too, i wanted 2 mask different objects with the same mask, CAN’t be Done AAAhhggg;(

Had 2 make a mulitple masks if i had muliple objects to mask.

Greetz from deamothul - the script keeper -

---

<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:** [April 22, 2003, 9:48pm UTC](https://forum.kirupa.com/t/problem-with-masking-please-help/18488/3 "2003-04-22T21:48:32Z")

</div>

zouzoum \>\> Maybe if you described your problem with that code… 🙂  
deamothul \>\> The usual workaround is to put all the clips you want to mask inside a container clip and then mask the container.

pom :trout:

---

<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:** [April 23, 2003, 7:38am UTC](https://forum.kirupa.com/t/problem-with-masking-please-help/18488/4 "2003-04-23T07:38:05Z")

</div>

Pom, that didn’t work 4 me. ;(
