Jukebox w/loadSound

  • DartHead
  • Beginner
  • Beginner
  • User avatar
  • Joined: Feb 22, 2004
  • Posts: 56
  • Loc: NYC
  • Status: Offline

Post March 19th, 2004, 8:38 am

I'm making a jukebox, loading the sounds dynamically, and everything is working nicely but I'd like the songs to play in order without the user having to click the 'next' button. Is there some code that will detect when the song is finished streaming?


http://lancemonotone.com/greg/

http://lancemonotone.com/greg/playsong.fla

Thanks,
Lance
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 19th, 2004, 8:38 am

  • DartHead
  • Beginner
  • Beginner
  • User avatar
  • Joined: Feb 22, 2004
  • Posts: 56
  • Loc: NYC
  • Status: Offline

Post March 19th, 2004, 8:58 am

Hi,

lostinbeta, you helped me again. I found the answer in another thread in which you gave this url: http://www.kennybellew.com/tutorial/.

Code: [ Select ]
song.onSoundComplete = function() {
    statement;
}
  1. song.onSoundComplete = function() {
  2.     statement;
  3. }


You rule!

Lance
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post March 19th, 2004, 9:37 am

Glad I could help, even if it was offhandedly ;)

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 42 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.