The message you are trying to access is permanently deleted.
"destruk" wrote:
This loop exits when the first match is located, or ends with x being equal to the number of available items, so the found flag variable is used to determine if there was actually a match.
.
found = 0
For x=0 to m.item.count()-1
if m.item[x].num=0 then
found = x
exit for
end if
Next
m.song = found
"squirreltown" wrote:
So the audio player seems to be the only thing that knows what the current index is but i cant ask it because it only returns an index on song select, and if there was a isPlaying status message i cant put a loop where i need it.
"RokuMarkn" wrote:
I thought you had worked this out in an earlier thread. You just need to copy the index when you get the isListItemSelected message from the AudioPlayer. That gives you the index of the currently playing item.
--Mark