F > FScrollBar.setHorizontal

 

FScrollBar.setHorizontal

Availability

Flash Player 6.

Usage

myScrollBar.setHorizontal(horizontalScroll)

Parameters

horizontalScroll A Boolean value specifying whether the scroll bar is horizontal (true) or vertical (false).

Returns

Nothing.

Description

Method; specifies whether the scroll bar is applied to the target horizontally (true) or vertically (false). This method defaults to false.

Example

The following code specifies that the scroll bar scrollText is applied horizontally to its target.

scrollText.setHorizontal(true);

See also

FScrollBar.setSize