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
. The list doesn't precisely measure the width of text that it contains. You must set
"on"
to indicate the amount of scrolling that the list requires. The list does not scroll
maxHPosition
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 (
allowed (
). 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;
472
Chapter 6: Components Dictionary
.
false
List.hScrollPolicy
) or only single selections are
true
is set to
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?