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