Putting dynamically created symbols into a grid

here’s a snipit from the code i have
----code----
var link = [“AESD”, “Board”, “CHMO”, “COMET”, “CCCC1”, “CCCC3”, “DAO”, “EXEO”, “FCSD”, “GOVA”, “HBSB”, “HRSD”, “INVO”, “ISOF”, “ITSD”, “LEGO”, “MBSB”, “OFAS”, “OSSD”, “PAOF”, “PLRD”, “RRP”, “RSTP”, “SLIP”, “STP”];
for (i=0; i<link.length; i++) {
_root.createEmptyMovieClip(“mc”+i, i);
with (_root[“mc”+i]) {
createTextField(“label”, 1003, 0, 20i, 90, 16);
with (label) {
background = true;
border = true;
borderColor = 0x003399;
backgroundColor = 0xF2F4FA;
type = “dynamic”;
text = _root.link
;
selectable = false;
setTextFormat(myFormat);
}
}
----code----
rather than having them all in a column like they are now

i would like to have them in rows of 7 or 8





how do i do that?

currently their y value is set to 0 and their x value is 20*i meaning each new one created will be 20 pixels below the previous one.

thanks