Atch new movieclip to another clip on stage

not sure if this is the best way top achieve a result but i would like to
do somthing like this

tester = this.createEmptyMovieClip(“logo_mc”, 999);
loadMovie("/images/thumbs" + temp[z].firstChild.nodeValue, tester);
loadMovie(tester, “button”+y);

basically i am trying to attach a dynamically created movieclip with external image data and varaibales to a clip that is already on the stage

my code as it stands:
for (z=0; z<=temp.length; z++) {
if (temp[z].nodeName == “image”) {
tester = this.createEmptyMovieClip(“logo_mc”, 999);
tester.id = z
loadMovie("/images/thumbs" + temp[z].firstChild.nodeValue, tester);
//not sure how to assign the new clip to one on the stage
// ie loadMovie(tester, “button”+z);
}

thanks for any advice