A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Detecting the completion of streamed sound

  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    68

    Detecting the completion of streamed sound

    Is there a way to detect if a streaming song has finished playing? I'm working on a little streaming web radio and everything seems to be working right but I have not figured out how to keep it playing through my entire array of songs. Please help! Thanks.

  2. #2
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    Look into the onSoundComplete method.....

    currentSound.onSoundComplete = function() {
    do something...
    };


    Here is a very nice sound tutorial....

    http://www.kennybellew.com/tutorial/

    Hope it helps
    NTD

  3. #3
    Member
    Join Date
    Aug 2004
    Posts
    68
    Thank you - this is great! I did try to with work having the next song start using onSoundComplete, and it hasn't worked yet, but this tutorial looks like it is likely to answer any questions and more I might have.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center