![]() ![]() | |
Flash Player 6.0.79.
Flash MX 2004.
listInstance.selectedItem
Property (read-only); an item object in a single-selection list. (In a multiple-selection list with multiple items selected, selectedItem returns the item that was most recently selected.) If there is no selection, the value is undefined.
This example displays the selected label:
trace(myList.selectedItem.label);
List.selectedIndex, List.selectedIndices, List.selectedItems
![]() ![]() | |