Particle Mask

I’ve got a ‘bubble’ particle effect setup in AS2. I want to create an identical particle system in a mask clip to mimic a refraction. I set up the following code, but I cannot get the attachMovie on the mask clip to work. Am I missing something? Appreciate any suggestions…


function initBubbles() {    
    stageWidth = 250;
    stageHeight = 380;
    
    mask_mc._width = stageWidth;
    mask_mc._height = stageHeight;
    mask_mc.setMask(img_mc);
    
    // Determine the size of the Cell:
    maxSize = 16;
    bblCount = 10;

    vSpeed = 0.4;
    hSpeed = -2;
    
    bblDirection = MoveUp;
    
    for (i=0; i < bblCount; i++) {
        thisBubble = attachMovie("Bubble", "Bubble"+i, i);
        thisMask = mask_mc.attachMovie("bubbleMask", "bubbleMask"+i, i);
        
        // alpha value
        thisBubble._alpha = 40+Math.random()*60;
        
        // positioning
        thisBubble._x = thisMask._x = -(stageWidth/2)+Math.random()*(1.5*stageWidth);
        thisBubble._y = thisMask._y = -(stageHeight/2)+Math.random()*(1.5*stageHeight);
        
        // scale
        thisBubble._xscale = thisBubble._yscale = thisMask._xscale = thisMask._yscale = 60 + Math.random()*(maxSize*10);
        
        // speed
        thisBubble.vertical = thisMask.vertical = vSpeed + Math.random()*(2);
        thisBubble.horizon = thisMask.horizon = hSpeed + Math.random()*(4);
        
        // direction
        thisBubble.onEnterFrame = bblDirection;
        thisMask.onEnterFrame = bblDirection;
    }
};