Multiple content paths for scroll pane?

Hey there guys,

Is there a way to add multiple content paths to a scrollpane? Or could you trick it someway by making a containerMC with multipe swfs atached to it ?

Basically I need to have a scrollpane with say 10 items in it. There will be ten btns that corespond with those items. if btn 1 is pressed item one will no longer show in the scrollpane. However if its pressed again it will show up in the scrollpane. same goes for btns 2 through 10. Does that make sense?

I dont have alot of experience with as3 or components. If anyone has any tips, tutes, or sugestions what so ever that would be great my thanks in advance.
:angel:

bump ?

Ok so I have this.

import fl.containers.ScrollPane;
var url:String = “gallery1large/001.jpg”;
var aa:MovieClip = new MovieClip();
var bb:Loader = new Loader();
bb.contentLoaderInfo.addEventListener (Event.COMPLETE, completeHandler);
function completeHandler (e:Event)
{
var myScrollPane:ScrollPane = new ScrollPane();
myScrollPane.setSize (320, 240);
myScrollPane.move (10, 10);
myScrollPane.source=aa;
addChild (myScrollPane);
}
bb.load (new URLRequest(url));
aa.addChild (bb);

but I need the ability to add and delete items within the scrollpane. Can this even be done ?

Or could you trick it someway by making a containerMC with multipe swfs atached to it ?
That one, I guess.

Anything that extends Sprite can be used as the source of a ScrollPane. So if you need to add and remove items from your list, that should be completely separate from whether it’s in a ScrollPane or not. (Unless there’s another component bug I haven’t seen, yet.)