# Duration of mp3 streaming file

**URL:** <https://forum.kirupa.com/t/duration-of-mp3-streaming-file/237340>\
**Category:** flash\
**Created:** [August 29, 2007, 2:42pm UTC](https://forum.kirupa.com/t/duration-of-mp3-streaming-file/237340 "2007-08-29T14:42:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![corneliu9d](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@corneliu9d](https://forum.kirupa.com/u/corneliu9d)\
**Post date:** [August 29, 2007, 2:42pm UTC](https://forum.kirupa.com/t/duration-of-mp3-streaming-file/237340/1 "2007-08-29T14:42:29Z")

</div>

I’m loading a mp3 file and I don’t know how can I make a bar to show the current played/remaining song, without loading the whole file. The Sound.duration property is real just after the file is completely loaded.  
The bar is very simple. I just need the whole length of the song and I would update it as the song plays.  
Can anybody help me?
