So i am using a list taken from an xml to load in mp3 files, you can start an mp3 file by clicking on it. Then i get the item clicked on like this:
var mp3Url:String = trackListList.selectedItem.@url;
I am pretty new to flex and i wondered if there was a way to select the next item based on this one.
A simple way would be like this:
EDIT
selIndexis the index of the item selected in the data provider. -1 means nothing is selected