Description
Property; gets or sets the number of lines or pixels scrolled when the user clicks the arrow buttons
of the UIScrollBar component. If the scroll bar is oriented vertically, the value is a number of
lines. If the scroll bar is oriented horizontally, the value is a number of pixels.
The default value is 1.
Example
The following example sets the scroll bar to scroll two lines of text each time the user clicks one of
the scroll arrows:
myScrollBar.lineScrollSize = 2;
UIScrollBar.pageScrollSize
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
scrollBarInstance.pageScrollSize
Description
Property; gets or sets the number of lines or pixels scrolled when the user clicks the track of the
UIScrollBar component. If the scroll bar is oriented vertically, the value is a number of lines. If
the scroll bar is oriented horizontally, the value is a number of pixels.
You can also set this value by passing a
UIScrollBar.setScrollTarget()
Example
The following example sets the scroll bar to scroll 10 lines of text each time the user clicks the
scroll track:
myScrollBar.pageScrollSize = 10;
UIScrollBar.scroll
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
parameter with the
pageSize
method.
UIScrollBar component
837
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers