Using duplicate mc as mask?Help

is it possible to use an duplicate mc as mask?
i have a 15 frame mc thats duplicated on main timeline - if i turn its layer into mask the dup mc does not play through 15 frames and remain on stage but flashes and dissapears.
Current code:
frame 1:
_root.drip.duplicateMovieClip(“drip”, i, i);
_root.drip._x = random(600);
_root.drip._y = random(300);
_root.drip._xscale = scale;
_root.drip._yscale = scale;
scale = (random(100)+50);
i++;
frame2:
if (i<10) {
gotoAndPlay(1);
}
if (i>=10) {
gotoAndStop(“sivmenu”);
}
any help most appreciated

should “scale” be defined before its used?

_root.drip._y = random(300);
<–|
_root.drip._xscale = scale; |
_root.drip._yscale = scale; |
scale = (random(100)+50); --|

maybe tag another stop(); action on the frame that has the label “sivmenu” just for good luck :slight_smile:

plus you should probably put i=1; at the start of your code so this line:

_root.drip.duplicateMovieClip(“drip”, i, i);
starts off with _root.drip.duplicateMovieClip(“drip”, 1,1);

hope that helps :slight_smile:

Proposed code:

Frame 1:
i=1;
_root.drip.duplicateMovieClip(“drip”, i, i);
_root.drip._x = random(600);
_root.drip._y = random(300);
scale = (random(100)+50);
_root.drip._xscale = scale;
_root.drip._yscale = scale;
i++;

Frame 2:
if (i<10) {
gotoAndPlay(1);
}
if (i>=10) {
gotoAndStop(“sivmenu”);
}

Frame “sivmenu”:
stop();

thanks but it works the same. problem is it works fine, but as soon as I turn duplicate mc’s layer into mask it dosn’t. Maybe this is just not possible? I’m trying to make a ‘drip’ sequence that slowly reveals underlying layer b4 moving on? any insight or other ways around this greatly appreciated.