i'm messing around with the sample mp3 player and have put it
to some use, learning quite a lot actually - it doesn't play from
one song to the next, though, like i'm almost sure it should while
looking at the AS - can someone point me to exactly what part of
the script does this and tell me if perhaps the song length
attribute is necessary for this to happen.
isn't there a means in AS to automatically detect this value
rather than "manually" adding it to the XML?
You can use the onSoundComplete event handler to play the
next sound clip once the first has ended. And you can get the
length of any given sound by calling the duration (e.g.
mySound.duration) property...I think it returns it in milliseconds.