May 3, 2009

FLASH: Dynamically name duplicatemovieClips and manipulate them

for(i=0;i<10;i++){
    duplicateMovieClip(mc, "mc_"+i, this.getNextHighestDepth());
    objeto=eval("mc_"+i);
    objeto._x=objeto._x+100;
    }

No comments: