F > FScrollPane.setVScroll |
FScrollPane.setVScroll
FScrollPane, FScrollPane.setVScroll, setVScroll
Availability
Flash Player 6.
Usage
myScrollBar.setVScroll(display)
Parameters
display A Boolean value specifying whether a vertical scroll bar is always displayed (true) or never displayed (false), or a string specifying that the scroll bar is displayed only when necessary ("auto").
Returns
Nothing.
Description
Method; determines whether a vertical scroll bar is always displayed (true), never displayed (false), or only displayed when necessary ("auto"). The default value is auto.
Calling this method overrides the Vertical Scroll parameter value set during authoring.
Example
The following code specifies that the vertical scroll bar for display1 is always displayed.
display1.setVScroll(true);
See also