# \[CS3/AS2\] Scrollpane problem

**URL:** <https://forum.kirupa.com/t/cs3-as2-scrollpane-problem/269933>\
**Category:** flash\
**Created:** [September 3, 2008, 10:28am UTC](https://forum.kirupa.com/t/cs3-as2-scrollpane-problem/269933 "2008-09-03T10:28:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![everisk](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@everisk](https://forum.kirupa.com/u/everisk)\
**Post date:** [September 3, 2008, 10:28am UTC](https://forum.kirupa.com/t/cs3-as2-scrollpane-problem/269933/1 "2008-09-03T10:28:01Z")

</div>

Hi,

I have set up a scrollpane to loaded up dynamically loaded images from XML file. I got it set up and images are loading inside the scrollpane but the scroller (not sure that how it is called) doesnot appear. I have attached the screenshot of how it looks like too. Below is my code

```auto

import mx.containers.ScrollPane;
var output_xml = new XML();
output_xml.ignoreWhite = true;
var moveY:Number = 0;
//scrollPane
myScroller.contentPath = "emptyScroll";
holder = myScroller.content;
myScroller.setSize(200, 200);
output_xml.onLoad = function(success){ 
 if (success){
  var showcase = output_xml.firstChild.childNodes;
  for(i=0;i<showcase.length;i++) {
   
   moveY = i*120;
   temp = holder.attachMovie('thumb0', 'thumb'+i, i+1, {_y:moveY}); 
   temp._visible = false;
   temp.curUrl = showcase*.attributes.url;
   temp.curThumb = showcase*.attributes.thumbImg;
   temp.curI = i;
   temp._x = 10;
   temp._visible = true;
  }
 }else 
  trace("error loading xml");
}
output_xml.load("myTest.xml");
myScroller.invalidate();

```
