# Scrollpane: dynamic content

**URL:** https://forum.kirupa.com/t/scrollpane-dynamic-content/120598
**Category:** Uncategorized
**Created:** [August 25, 2004, 7:01pm UTC](https://forum.kirupa.com/t/scrollpane-dynamic-content/120598 "2004-08-25T19:01:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bava](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bava](https://forum.kirupa.com/u/bava)
#### Post date: [August 25, 2004, 7:01pm UTC](https://forum.kirupa.com/t/scrollpane-dynamic-content/120598/1 "2004-08-25T19:01:35Z")

</div>

Hi guys,

My first post in this forum 😛

I’ve created a Flash service through which I get a list of categories.  
For each category, I create a button using attachMovie: works great.

Now, what I want to do is add these buttons to a scrollpane so that the list can grow as large as I want it to: any ideas on how to do this? I’ve already tried to add the buttons to the scrollpane like

myScrollpane.attachMovie("…

This results in the buttons being created but the scrollpane isn’t scrollable.

Any help woud be greatly appreciated,

bava

---

<div class="post-metadata">

### Author: ![bava](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bava](https://forum.kirupa.com/u/bava)
#### Post date: [August 25, 2004, 7:31pm UTC](https://forum.kirupa.com/t/scrollpane-dynamic-content/120598/2 "2004-08-25T19:31:00Z")

</div>

I’ve already found out that I have to create a movieclip and export it for actionscript: setting the contentpath of the scrollpane to that movie will make the scrollpane work.  
But how do I add other movieclips dynamically to that movieclip so that I can scroll the dynamically loaded movieclips?

Thnx
