# \[F8\] Preload non-streaming MP3 issue

**URL:** https://forum.kirupa.com/t/f8-preload-non-streaming-mp3-issue/277299
**Category:** flash
**Created:** [December 10, 2008, 1:38pm UTC](https://forum.kirupa.com/t/f8-preload-non-streaming-mp3-issue/277299 "2008-12-10T13:38:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Psaldorn](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@Psaldorn](https://forum.kirupa.com/u/Psaldorn)
#### Post date: [December 10, 2008, 1:38pm UTC](https://forum.kirupa.com/t/f8-preload-non-streaming-mp3-issue/277299/1 "2008-12-10T13:38:25Z")

</div>

Hi all,  
Made myself a nice reusable preloader to go with a swf/voiceover loading framework, then realied I’d need a little bar to show progress of MP3 file.

All fine.

Make that, then notice that it’s crackling a lot from streaming, so I turn off streaming. It would seem Sound.getBytesLoaded() returns undefined if it’s not streaming.

1. Isn’t that a really stupid thing? Streaming precludes need for preloaded generally.

2. Is there a simple way around it. Tried some addEventLister stuff but .PROGRESS didn’t seem to trigger (might by AS3, I get so confused…)

Also tried using Sound.load(URL) instead of loadSound(URL) but to no avail.

I can just use a throbber for now but it’s a shame.

Any help is muchly appreciated.

Martin
