hello
i was wondering how to make a grid of squares with loops? also, how do i controle the clips that were dynamically created with the loop. like clip25 only?
total = 5;
i = 1;
while(i<total){
//create MovieClip with new name
mcName = this.createEmptyMovieClip("square_mc"+i, this.getNextHighestDepth());
//begin fill in each new MovieClip
mcName.beginFill(0xFF0000);
mcName.moveTo(10, 10);
mcName.lineTo(100, 10);
mcName.lineTo(100, 100);
mcName.lineTo(10, 100);
mcName.lineTo(10, 10);
mcName.endFill();
// how do i place the clips here? also how do i make certain clips
//move with action script?
mcName._x = mcName.width
mcName._y = mcName.height
//count
i++;
}
thanks so much for your help