Scroll Method (SparkGroupBase)

Class

SparkGroupBase class

Action

Dispatched when the container's scroll events occur. This event is dispatched if the scrolling is done programmatically or by the user.

Syntax

groupBase.Scroll(position, direction, detail)
Variable Description
position The new scroll position. INTEGER.
direction The direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL. FLEXSCROLLDIRECTION.
detail Provides the details of the scroll activity. For most scroll activities the value is one of the listed constants, such as THUMB_TRACK. If the event indicates that the scrollbar has moved up, down, left, or right, the value is the string concatenation of the amount of motion (such as "Line" or "Page") and the constant that indicates the direction, such as LEFT. FLEXSCROLLDETAIL.