Hi,
i’m having a problem with a for loop. The problem is that it doesn’t create multiple movieclips with an unique instance, i think it copies over itself…
I hope someone knows how to solve this!!
thnx,
excidium
for( var i = 1, x = -20; i < 4; i++){
if(this['plaatje' +i] != undefined){
_root.again.createEmptyMovieClip("image", i);
this._root.again.image += _root.again["image" +i];
this.plaatje = this["plaatje"+i];
trace(this['plaatje'+ i]);
plaatjeText.text += this['plaatje'+i] + newline;
_root.again.image.loadMovie(this.plaatje +".jpg", i);
_root.again.image._x += 50;
trace(_root.again.image3._x);
}}