Working with dynamic clips

i created dynamic clips and attaced a movieclip from the library to them:


for (i=0; i<6; i++) {
 this.createEmptyMovieClip("targetClip"+i, this.getNextHighestDepth());
 _root["targetClip"+i]._x = i*20;
 _root["targetClip"+i].attachMovie("btnM"+i, squere, this.getNextHighestDepth());
}
 

i turned them into buttons but it doesnt recognize the dynamic clips;

for (var m:Number = 0; m<11; m++) {
 this["targetClip"+m] = addBehaviour(m);
}
function addBehaviour(m) {
 this["targetClip"+m].onRelease = function() {
  pressed(this._name);
 };
}
function pressed(storedName) {
 storedName = storedName.slice(10, 12);
 _root["targetClip"+storedName]._y = 400;
}

i tried this instead of _root but it doesnt know what [COLOR=red]_root[“targetClip”+storedName] [/COLOR]is?