getting selectedIndex for SkinnableDataContainer / List
Is there something like select开发者_如何学CedIndex
for SkinnableDataContainer
? It doesn't seem to be one of the available properties.
Nick
Look at the following link to Adobe's site... this will describe how to add the functionality to the SkinnableDataContainer class by extending it.
SkinnableDataContainer Link
Z
I needed just this, a few days ago and found some components that should work. If you look at spark.components.List which is a subclass of spark.components.SkinnableDataContainer you will see the selectedIndex property aswell as the selectedIndices property (for selecting multipleItems). If you dont need all of the List functionality spark.components.supportClasses.ListBase can be used.
精彩评论