Scroll Method (FlexScrollBar)

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.