Pretty basic stuff this, but I’m not sure why it isn’t working.
I have a movie clip in library which I want to attach to the stage multiple times to form a perfect grid. I am using th following code but it is only laying the movieclips out on the x axis:
for (var y:Number = 0; y< 100; y = y + 10){
for(var x:Number = 0; x < 100; x = x + 10){
this.attachMovie(“mc_circle”, “mc_circle” + x, x,{_x:x, _y:y});
}
}
So simple when you have been shown how. I agree that the attachMovie method is better… I didn’t really want unused instances laying around off the stage. Thanks again.