Need help with actionscript mask

a while back the canadian posted this actionscript mask to this forum. it’s an actionscript mask that filles the screen with a tiled shape.

i’ve been trying to use it to transition between images, but it won’t work and i can’t seem to understand why… in the example i’m attaching the first mask works fine, but the second, which is set up exactly the same way, doesn’t. and i eventually want to use it for 5 different images…
does anyone have any idea? i’m also posting the code. :stare:

you can see it here:
http://www.lousch.net/files/pecheblu/

also, on my g4 mac the second mask is quite slow, i think because the squares keep growing and don’t stop, those of the first mask as well as the second. is there any way to make them stop growing once the screen is filled?

this.createEmptyMovieClip("holder", this.getNextHighestDepth());
xPos = 15;
yPos = 15;
onEnterFrame = function () {
for (var i = 0; i < 50; i++) {
    mySq = holder.attachMovie("square", "square" + holder.getNextHighestDepth(), holder.getNextHighestDepth());
    mySq._x = xPos;
    mySq._y = yPos;
    mySq._xscale = mySq._yscale = 30;
    mySq.onEnterFrame = function() {
if (this._xscale <= 100) {
this._xscale += 10;
this._yscale = this._xscale;
} else {
delete this.onEnterFrame;
}
};
xPos += 30;
if (xPos > Stage.width) {
xPos = 15;
yPos += 30;
}
}
};
this.mask.setMask(holder);