Hi,
I’m trying to place a movieClip on a grid. What I have is a rectangular movieClip called recMc and I would like to create columns and rows based on two numbers that are dynamically generated, for instance if those numbers are 5 and 6, (5 rows and 6 columns) I will end up with 30 movieClips on the stage forming a rectangular shape. Oh, I would like to have some space in between each movieClip.
I think I saw something like this posted on www.learningactionscript3.com when I bought the book, but since this site is down most of the time I cannot view it.
Can someone be so kind and show me how to do this?
var rows:Number = dynamicNum1;
var cols:Number = dynamicNum2;
for(var i=0; i<rows; i++){
}
Thanks a lot!