10/19/2011 1:37:04 AM
Title:
Calculate Audio time Before Audio Has Loaded Completely
Hi,
I am loading the sound and i want to get the length of the sound before sound has fully loaded. I have tried to get following methods that calculate the sound length from the following urls:
1. http://www.stevensacks.net/2008/12/02/calculating-duration-on-mp3s-in-as3/
2. http://www.multimediacollege.be/2010/07/estimating-the-duration-of-a-sound-object-while-loading/
3. http://www.h3xed.com/programming/how-to-streaming-mp3-sound-length-actionscript-3
4. http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7d21.html
The sound i am using do not have the length in the ID3 tags too.
Please I searched enough on it Kindly provide some solution to this problem.
Regards
Inder
Points: 2980
Posts:0
10/24/2011 3:04:31 AM
see this link from the Adobe website . It will explain you reading ID3 tag info of external mp3 files loaded in flash.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html#length