Masking (attachMovie)

Hi,
I need to mask a text or mc by the attached mc from the library.
I used this code, but it doesn’t work to me:

[COLOR=DarkSlateBlue]
i = 0;
function makeMask() {
_root.attachMovie(“mc”, “mc”+i, i);
_root[“mc”+i].i = i;
_root[“mc”+i].num = i+1;
_root[“mc”+i]._x = 60;
_root[“mc”+i]._y = 50+16*i;
_root[“mc”+i].asBut();
i++;
if (i>6) {
clearInterval(id);
}
}
id = setInterval(makeMask, 200);
Text.setMask(mc);[/COLOR]

Could someone please help me?
Thank you.