
ADOBE DIRECTOR 11.0
User Guide
231
vLineScrollSize
indicates the number of units a vertical scroll bar moves each time an arrow button is pressed. The
default value is 5.
vPageScrollSize
indicates the number of units a vertical scroll bar moves each time the track is pressed. The default
value is 20.
vScrollPolicy
displays the vertical scroll bars. The default value is “auto”.
Write code to control these and additional options for ScrollPane components by using its properties, methods, and
events.
Method summary for the ScrollPane class
Property summary for the ScrollPane class
Event summary for the ScrollPane class
Method Description
ScrollPane.getBytesLoaded(
)
Returns the number of bytes of content loaded.
ScrollPane.getBytesTotal()
Returns the total number of content bytes to be loaded.
ScrollPane.refreshPane()
Reloads the contents of the scroll pane.
Method
Description
ScrollPane.content
A reference to the content loaded into the scroll pane.
ScrollPane.contentPath
An absolute or relative URL of the SWF or JPEG file to load into the scroll pane.
ScrollPane.hLineScrollSize
The amount of content to scroll horizontally when an arrow button is pressed.
ScrollPane.hPageScrollSize
The amount of content to scroll horizontally when the track is pressed.
ScrollPane.hPosition
The horizontal pixel position of the scroll pane.
ScrollPane.hScrollPolicy
The status of the horizontal scroll bar. The default value is “
auto
”.
ScrollPane.scrollDrag
Indicates whether there is scrolling when a user presses and drags within the
ScrollPane (
true
) or not (
false
). The default value is
false
.
ScrollPane.vLineScrollSize
The amount of content to scroll vertically when an arrow button is pressed.
ScrollPane.vPageScrollSize
The amount of content to scroll vertically when the track is pressed.
ScrollPane.vPosition
The vertical pixel position of the scroll pane.
ScrollPane.vScrollPolicy
The status of the vertical scroll bar. The default value is “
auto
”.
Method Description
ScrollPane.complete
Broadcast when the scroll pane content is loaded.
ScrollPane.progress
Broadcast while the scroll bar content is loading.
ScrollPane.scroll
Broadcast when the scroll bar is pressed.
Содержание 65036570 - Director - PC
Страница 1: ...i ADOBE DIRECTOR 11 USER GUIDE...