2009-02-04 21 views

回答

9

如果您有一個要選擇的對象的引用,或者myList.selectedIndex(如果您有數據源的索引),那將會是myList.selectedItem。這兩個屬性都從ListBase類繼承。它們在ActionScript 3.0語言參考中進行了說明。

2

試試像這樣使用List的dataProvider的getItemAt方法... myList.dataProvider.getItemAt(0)。

相關問題