List.maxHPosition

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

listInstance.maxHPosition

Description

Property; specifies the number of pixels the list can scroll when List.hScrollPolicy is set to "on". The list doesn't precisely measure the width of text that it contains. You must set maxHPosition to indicate the amount of scrolling that the list requires. The list will not scroll horizontally if this property is not set.

Example

The following example creates a list with 400 pixels of horizontal scrolling:

myList.hScrollPolicy = "on";
myList.maxHPosition = 400;

See also

List.hScrollPolicy