List.selectedItem
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
listInstance.selectedItem
Description
Property (read-only); an item object in a single-selection list. (In a multiple-selection list with
multiple items selected,
is no selection, the value is
Example
This example displays the selected label:
trace(myList.selectedItem.label);
See also
List.selectedIndex
List.selectedItems
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
listInstance.selectedItems
Description
Property (read-only); an array of the selected item objects. In a multiple-selection list,
selectedItems
Example
The following example retrieves an array of selected item objects:
var myObjArray = myList.selectedItems;
See also
List.selectedIndex
selectedItem
.
undefined
,
List.selectedIndices
lets you access the set of items selected as item objects.
,
List.selectedItem
returns the item that was most recently selected.) If there
,
List.selectedItems
,
List.selectedIndices
List component
479
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?