ScrollPane and attachMovie

I am trying to scroll movie clips in a scrollPane. By default you can scroll one movie clip from your library by putting its linkage name in the properties box of the scrollPane. Great, but I need to load a whole bunch of movie clips in the scrollPane. So what I have been trying to do is load a movieClip into the scrollPane that has a attachMovie command in it that calls another movie clip. The second movie loads but it is not scrollable. Can someone please take a look at my FLA.

I dont think you can specify 2 movie clips to display in the scroll pane at the same time.

I have had a little success with this but I do mean a little. As I can tell the component creates a temp directory where all the content is loaded. So I have been loading my movie clips into the temp directory but the movie clips still don’t scroll.

Question, does anyone have an idea on how to scroll dynamic movie clips?

You did scroll a dynamic loaded movie clip.
You want to know how to scroll 2 movie clips at the same time?

Yes, I have scrolled a dynamically loaded movie clip, but there where problems with it. It would flash in and out of view as I scrolled it.

I would like to know how to scroll 2 or more dynamically loaded movie clip at the same time.

Again I dont think thats possible to scroll more than 1 movie clip at the same time on one single scroll pane.
Try running a google search on scrollpane component or searching flash help.

This code works just as I want except it only works in the x position (horizontal scroll). If I set the x position to y position (vertical scroll) all of the movie clips slide up to the same y position covering all but 1 movie clip. Is there a tricky little way around this I am missing?


for (i=0; i-1<5; i++) {
newYPosition = newYPosition+130;
_root.createEmptyMovieClip("banner"+i, i+3);
loadMovie("scrollpane_object.swf","_root.banner"+i);
eval("_root.banner"+i)._x = 50;
eval("_root.banner"+i)._y = newYPosition;	 

}
//scrollBar._x = 50;
scrollBar.setHorizontal (false);
scrollBar.setScrollProperties (1, 50, 400);
scrollBar.setChangeHandler ("mover");
function mover () {
eval("_root.banner0")._x = scrollBar.getScrollPosition();
eval("_root.banner1")._x = scrollBar.getScrollPosition();
eval("_root.banner2")._x = scrollBar.getScrollPosition();
eval("_root.banner3")._x = scrollBar.getScrollPosition();
eval("_root.banner4")._x = scrollBar.getScrollPosition();
eval("_root.banner5")._x = scrollBar.getScrollPosition();
}

The final trick was to…
:ch:


scrollBar.setHorizontal (false);
scrollBar.setScrollProperties (1, 130, 400);
scrollBar.setChangeHandler ("mover");
function mover () {
eval("_root.banner0")._y = scrollBar.getScrollPosition();
eval("_root.banner1")._y = scrollBar.getScrollPosition()+130;
eval("_root.banner2")._y = scrollBar.getScrollPosition()+260;
eval("_root.banner3")._y = scrollBar.getScrollPosition()+390;
eval("_root.banner4")._y = scrollBar.getScrollPosition()+520;
eval("_root.banner5")._y = scrollBar.getScrollPosition()+650;
}