Scroll Method (FlexScrollBar)

Class

FlexScrollBar class

Action

Dispatched when the ScrollBar control scrolls through user initiated action or programmatically.

Syntax

scrollBar.Scroll(position, direction, detail)
Variable Description
position Contains the new scroll position. INTEGER.
direction Contains the scroll direction, either ScrollEventDirection.HORIZONTAL or ScrollEventDirection.VERTICAL. FLEXSCROLLDIRECTION.
detail Provides the specifics of the type of scroll activity. Constants for the possible values are provided in the ScrollEventDetail class. FLEXSCROLLDETAIL.