# Need to scroll MC with multiple attached movies inside

**URL:** https://forum.kirupa.com/t/need-to-scroll-mc-with-multiple-attached-movies-inside/193353
**Category:** Uncategorized
**Created:** [July 12, 2006, 7:54pm UTC](https://forum.kirupa.com/t/need-to-scroll-mc-with-multiple-attached-movies-inside/193353 "2006-07-12T19:54:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kredd](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@kredd](https://forum.kirupa.com/u/kredd)
#### Post date: [July 12, 2006, 7:54pm UTC](https://forum.kirupa.com/t/need-to-scroll-mc-with-multiple-attached-movies-inside/193353/1 "2006-07-12T19:54:11Z")

</div>

{v. FLASH MX 2004}

hello all,  
i am loading some thumbnails from an xml file into a movieclip using attachMovie() - each thumbnail loaded is in it’s own MC inside the ‘container’ MC. everything works great but i need to be able to scroll the thumbnails b/c the number of thumbnails can change but the space they have to fit into cannot. make sense? if attach them to a scrollpane or a textarea instead of a MC it only shows the last thumnail loaded or iterated in the for loop.

i’ve spent all day searching through examples and tutorials but can’t find any solutions!! anybody got any ideas?

```auto
 
 articleNos = seasArts.firstChild.firstChild.childNodes.length;
 
 var item_spacing = 55;
 var item_count = 0;
 
 for (var z = 0; z < articleNos; z++){ // start looping through xml
 
 art_title = seasArts.firstChild.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue; //title
 art_subtitle = seasArts.firstChild.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue; //sub title
 art_number = seasArts.firstChild.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue; //article number
 article.text = seasArts.firstChild.firstChild.childNodes[0].childNodes[3].firstChild.nodeValue; //article content
 art_photo = seasArts.firstChild.firstChild.childNodes[0].childNodes[4].firstChild.nodeValue; //photo for article
 art_thumb = seasArts.firstChild.firstChild.childNodes[z].childNodes[5].firstChild.nodeValue; // thumbnail link
 _root.cover_pic.loadMovie(seasArts.firstChild.firstChild.childNodes[0].childNodes[4].firstChild.nodeValue,1); // issue cover
 
 item = seasArts.firstChild.firstChild.childNodes;
  var item_mc = _root.thumb_list.attachMovie("menu_item","item"+item_count, item_count);
   item_mc._y = item_count * item_spacing;
   item_count++;
  item_mc.loadMovie(seasArts.firstChild.firstChild.childNodes[z].childNodes[5].firstChild.nodeValue,1);
  scroller.loadMovie(seasArts.firstChild.firstChild.childNodes[z].childNodes[5].firstChild.nodeValue,1);
 
 }// end for xml loop
 

```

THANKS!!!
