# \[mx\] multidimensional array xml help

**URL:** https://forum.kirupa.com/t/mx-multidimensional-array-xml-help/31125
**Category:** flash
**Created:** [September 18, 2003, 3:25pm UTC](https://forum.kirupa.com/t/mx-multidimensional-array-xml-help/31125 "2003-09-18T15:25:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ogden](https://avatars.discourse-cdn.com/v4/letter/o/bcef8e/32.png) [@ogden](https://forum.kirupa.com/u/ogden)
#### Post date: [September 18, 2003, 3:25pm UTC](https://forum.kirupa.com/t/mx-multidimensional-array-xml-help/31125/1 "2003-09-18T15:25:13Z")

</div>

help - i am trying to make simple 3 column, multi-row table to display some xml content (address). i can get it to go horz. or vert. but not both. from what i have found in a bunch of search results, i need to use a multidimensional array…

i must be missing the point. i have attached the file for a closer look, but i think the AS below is the issue.

any and all help would be greatly appreciated!

[AS]function assembleMenu() {  
for (var i = 0; i\<myarray.length; i++) {  
thistimeline[“menuElement\_mc”+i].\_y = menuElement\_mc.\_y+(offset\*i);

```
	for (var j = 0; j&lt;myarray.length; j++) {
		duplicateMovieClip(menuElement_mc, "menuElement_mc"+i, i);
		thistimeline["menuElement_mc"+j]._x = menuElement_mc._x+(offset*j);
		thistimeline["menuElement_mc"+j].header = myarray[j].header;
		thistimeline["menuElement_mc"+j].detail = myarray[j].detail;
		//
		thistimeline["menuElement_mc"+j].head1_txt.text = thistimeline["menuElement_mc"+j].header;
		thistimeline["menuElement_mc"+j].detail1_txt.text = thistimeline["menuElement_mc"+j].detail;
	}
}
menuElement_mc.unloadMovie();

```

}[/AS]
