# Help with scrollpane component

**URL:** <https://forum.kirupa.com/t/help-with-scrollpane-component/312154>\
**Category:** Uncategorized\
**Created:** [July 27, 2010, 8:07am UTC](https://forum.kirupa.com/t/help-with-scrollpane-component/312154 "2010-07-27T08:07:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ray123](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@ray123](https://forum.kirupa.com/u/ray123)\
**Post date:** [July 27, 2010, 8:07am UTC](https://forum.kirupa.com/t/help-with-scrollpane-component/312154/1 "2010-07-27T08:07:27Z")

</div>

I built a mp3 player (by a tutorial) that reads the data from xml file  
when I add a new line of a new track to the xml file, a new button (with the track name) appears in the flash file below the previous button  
the button is not on stage but it has linkage  
the problem is that if I add lots of tracks the buttons will cross the screen  
I want to put all the buttons in a scroll pane but I don’t know how  
in the first pic you see the code for the movie clip that called track\_list which is the grey rectangle  
in the second pic you see the code in the button that right now is not on stage  
and in the third pic you see how it looks like after I published  
currently I have 5 tracks so the buttons don’t cross th screen  
I hope you can help me  
thanks!
