Scrollbar Class (AS3)
Here’s a generic ScrollBar class, which will take a movieclip and create a scrollbar out of it.
The class accepts 2 parameters, your source movieclip, and the callBack function which should be notified whenever the Scroller’s position has changed. It also features some external interface to change the position of the scroller from somewhere else in your code