[FLASH CS3] Really need some help assigning actions to dynamic movieclips

Hello,

Really need some help on this - it’s driving me mad. Everthing below works fine apart from the:

movBlank[‘image’+i].onRelease = function() {
trace(“MC Pressed”);
}

When I run the file the image appears but isn’t clickable.

The full code is below. I’m no Flash guru so anyone’s help would be most appreciated:

//create image array
btnImages = new Array();

btnImages[1] = “BathR1L”;
btnImages[2] = “BathR2L”;
btnImages[3] = “BedR21L”;
btnImages[0] = “Extern1”;
btnImages[5] = “Land3L”;
btnImages[6] = “LoftUC1”;
btnImages[7] = “Mbedroom1L”;
btnImages[8] = “Mbedroom3L”;

var $startx = 0;

imagePath = “projects/”;

//
var mcl = new MovieClipLoader();
mcl.addListener(myListener);
myListener.onLoadInit = function(mc) {
mc._width = 110;
mc._height = 110;
mc._x = $startx + 80;
mc._y = -mc._height / 2;
};

for (var i = 0; i < btnNames.length; i++) {

movBlank.createEmptyMovieClip("image"+i, i);

mcl.loadClip(imagePath + btnImages*+"_small.jpg", movBlank['image'+i]);

movBlank['image'+i]._x = $startx;

**movBlank['image'+i].onRelease = function() {
    trace("MC Pressed");
}**


$startx = $startx + 80;

}