Hi, I am trying to add x amount of movieclips to the stage with their own unique _x value. Also with each movie clip added i need to add an array with a smiler name. I tried this code.

Actionscript Code:
enemycount = 46;
for (i=1; i<enemycount+1; i++) {
    this["currentenemy"+(i)]=_level0.enemydatabase[0];
    this.attachMovie("BrownFox", ["enemy"+i], 101, {_x:100, _y:219});

}
for (i=enemycount; i<51; i++) {
    this["currentenemy"+(i)]=_level0.enemydatabase[1];
}
trace (this.enemy1._x);
trace (this.currentenemy45);

under the attachmovie I have ["enemy"+1] but when i trace enemy1 it returns undefined. But when I put ["enemy"+1] it returns the _x value. also if I put _x: i * 5, I only see one movie clip so I have a feeling they all have the same _x and_y value. basically I wanna be able to add 2 enemys to the stage with out over lapping, and the option to add 50 with out too much over lapping (would like to avoid overlapping by also giving various y depths, between 200 and 250)