Scrollpane: dynamic content

Hi guys,

My first post in this forum :stuck_out_tongue:

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

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