header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
RIACODER
Points:10
Posts:0

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



1
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


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+0 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions