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<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]