Mega Code Archive
ScrollBar Simple
import mx.events.ScrollEvent;
// Event handler function to display the scroll location.
private function myScroll():void {
showPosition.text = "VScrollBar properties summary:" + '\n' +
"------------------------------------" + '\n' +
"Current scroll position: " +
bar.value + '\n' +
"The maximum scroll position: " +
bar.maximum + '\n' +
"The minimum scroll position: " +
bar.minimum;
}