# Scrolling multidimensional arrays?

**URL:** <https://forum.kirupa.com/t/scrolling-multidimensional-arrays/203567>\
**Category:** Uncategorized\
**Created:** [October 12, 2006, 2:24am UTC](https://forum.kirupa.com/t/scrolling-multidimensional-arrays/203567 "2006-10-12T02:24:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruzed](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bruzed/32/2904_2.png) [@bruzed](https://forum.kirupa.com/u/bruzed)\
**Post date:** [October 12, 2006, 2:24am UTC](https://forum.kirupa.com/t/scrolling-multidimensional-arrays/203567/1 "2006-10-12T02:24:05Z")

</div>

Hi,

Here’s the code I’m using to generate a multidimensional array. This function is called through the xml loader:

function playlistdata(k) {  
//attach the container clip  
attachMovie(“videodesc”, “videodesc”+k, k, {\_x:xPos, \_y:yPos});  
//increase the y postion each time  
yPos += this[“videodesc”+k].\_height+5;  
//add the information  
this[“videodesc”+k].videotitle.text = vtitle[k];  
this[“videodesc”+k].videodescription.text = desc[k];  
this[“videodesc”+k].videolink.text = link[k];  
this[“videodesc”+k].videocategory.text = category[k];  
this[“videodesc”+k].videocopyright.text = copyright[k];  
this[“videodesc”+k].linkurl.onRelease = function() {  
getURL(""+link[k]+"", “\_blank”);  
};  
}  
I got some references from the ‘multidimensional array and attachmovie’ tutorial on this site. But I need to be able to scroll these items since the height is rather large and there can be an n number of items. How do I attach a scroller to this? I hope I’m clear about what I need to do.

Any help is appreciated and thanks in advance! :wasted:
