User Guide
472 Chapter 6: Components Dictionary
List.maxHPosition
Availability
Flash Player 6 (6.0 79.0).
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 does 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
List.multipleSelection
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
listInstance.multipleSelection
Description
Property; indicates whether multiple selections are allowed (true) or only single selections are
allowed (
false). The default value is false.
Example
The following example tests to determine whether multiple items can be selected:
if (myList.multipleSelection){
// your code here
}
The following example allows the list to take multiple selections:
myList.multipleSelection = true;