
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
1010
|
Appendix G: Flash UI Component Summary
setLargeScroll()
Specifies the number of units to scroll when the user clicks to either side of the thumb
slider (defaults to
pageSize as set with setScrollProperties()).
setScrollPosition()
Sets the current scroll position as an integer between the minimum and maximum
positions.
setScrollProperties()
Sets the scrollbar’s minimum and maximum positions and page size.
setScrollTarget()
Specifies the text field that the scrollbar causes to scroll (i.e., the text field to which the
scrollbar applies), as a string instance name.
setSize()
Sets the scrollbar length in pixels (its width is fixed).
setSmallScroll()
Specifies the number of units to scroll when the user clicks a scroll arrow (defaults to 1).
setStyleProperty()
Sets a particular style property for the scrollbar (for a list of supported properties, see
the FStyleFormat object).
FScrollPane
support for creating a scrolling view of a movie, movie clip, or JPEG image
Methods
getPaneHeight()
Returns the height of a scroll pane as set by setSize().
getPaneWidth()
Returns the width of a scroll pane as set by setSize().
getScrollContent()
Returns a reference to the movie clip displayed in the scroll area.
getScrollPosition()
Returns the current scroll position as an object with
x an y properties.
loadScrollContent( ...