TextArea.hScrollPolicy

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

textAreaInstance.hScrollPolicy

Description

Property; determines whether the horizontal scroll bar is always present ("on"), never present ("off"), or appears automatically according to the size of the field ("auto"). The default value is "auto".

Example

The following code turns horizontal scroll bars on all the time:

text.hScrollPolicy = "on";