I am using as2 to stream some mp3s. At the moment I have an attribute within the xml for giving me the length.
I guess the length for the mp3s is buried in the mmp3 file somewhere. If I load the files in totally first, then I can get at the info (ID3 is it?) however, this doesn't work for streaming them . Or rather, I can't make it work! (I have found posts which suggest making an estimate if you know how much has downloaded in so many seconds and you know the length etc etc - but this is exactly that - an estimate!)
So my question is how do I get the length of an mp3 clip that I am going to stream?
after a few seconds of streaming you can estimate the duration of your sound (s) by using: