# Putting dynamically created symbols into a grid

**URL:** <https://forum.kirupa.com/t/putting-dynamically-created-symbols-into-a-grid/18335>\
**Category:** Uncategorized\
**Created:** [April 15, 2003, 5:18pm UTC](https://forum.kirupa.com/t/putting-dynamically-created-symbols-into-a-grid/18335 "2003-04-15T17:18:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuga](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shuga](https://forum.kirupa.com/u/shuga)\
**Post date:** [April 15, 2003, 5:18pm UTC](https://forum.kirupa.com/t/putting-dynamically-created-symbols-into-a-grid/18335/1 "2003-04-15T17:18:32Z")

</div>

## 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, 20_i, 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
