I've created a music streaming application for personal use, but I've run into a problem. I tried to add a function to the event onSoundComplete , but nothing happens when the song finishes.
I did this:
The function playSong works, because the song starts, and plays, and if I click my "Next" button, it goes to the next song and plays. It just doesn't seem to fire when the song is over.
Thanks for your help.
I did this:
Code:
s.onSoundComplete = playSong;
Thanks for your help.
Comment