F > FScrollBar.setLargeScroll

 

FScrollBar.setLargeScroll

Availability

Flash Player 6.

Usage

myScrollBar.setLargeScroll(largeScroll)

Parameters

largeScroll An integer specifying the number of positions to scroll when the user clicks the track once. The default value is the value set for pageSize with FScrollBar.setScrollProperties.

Returns

Nothing.

Description

Method; sets the largeScroll property of the scroll bar instance at runtime. When the user clicks the scroll track once, the scroll box (thumb) moves the distance specified for one largeScroll position.

Example

The following code specifies that when the user clicks the track, scrollText1 is scrolled 20 positions.

scrollText1.setLargeScroll(20);

See also

FScrollBar.setSmallScroll