PDA

View Full Version : ScrollPane with scroll bar in the center of scrollable content



xenos
March 11th, 2009, 03:01 PM
I'm using a ScrollPane to horizontally scroll a movie clip that's much larger than the stage. I've got it working just fine, but I need the scroll bar to appear in the middle of the content. That is to say that I need the scroll bar to appear in the center of the stage with the movieclip behind it extending above and below the scroll bar.

Is there a way to do this with ScrollPane or another technique that will accomplish this?

I've tried customizing the component by changeing the position of the ScrollTumb skin by going into its movie clip. This positions the scrolling stuff where I want it, but the movieclip appears on top of it.

Thanks!

snickelfritz
March 11th, 2009, 03:05 PM
gotoandlearn.com has a tutorial that will help you understand how to do this.
http://www.gotoandlearn.com/play?id=71

xenos
March 11th, 2009, 03:06 PM
gotoandlearn.com has a tutorial that will help you understand how to do this.
http://www.gotoandlearn.com/play?id=71


Thanks! Fastest reply ever, what 3.5 minutes? I'll check it out.