Scrollbars with enertia

does anyone know the AS for making scrollbars with the enertia effect on them, i have seen them in a few places, and was wondering if you could help me out. thanks@@ :}