flash mx streaming audio...

  • Started
  • Last post
  • 1 Response
  • breeding

    im using loadSound to create a streaming mp3 player for a site... is there anyway to tell how much of the song has buffered? There is usually a 2-5second delay between pressing play and the song starting, I want to be able to create a buffer for this so that the user knows that something is happening.

  • knusperpixel0

    Hi!

    I usally use something like this:
    - load the mP3
    - check for duration
    - if duration > 5 check for position
    - while position == lastPosition (you have to store this for yourself) display some buffering message

    Hope that helps...