# Audio preloader not working

**URL:** https://forum.kirupa.com/t/audio-preloader-not-working/122302
**Category:** Uncategorized
**Created:** [September 12, 2004, 4:30pm UTC](https://forum.kirupa.com/t/audio-preloader-not-working/122302 "2004-09-12T16:30:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tanel96](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@tanel96](https://forum.kirupa.com/u/tanel96)
#### Post date: [September 12, 2004, 4:30pm UTC](https://forum.kirupa.com/t/audio-preloader-not-working/122302/1 "2004-09-12T16:30:44Z")

</div>

i’m getting deseprate by now… i’ve been trying to get my audio preloader to work for 7h straight, and no positive results… it should be simple:

// actions on main timeline frame 1  
stop();  
my\_sound = new Sound();  
my\_sound.loadSound(“song.mp3”, false);

// actions of a movie clip named mc\_preloader that is also on the main timeline frame 1

onClipEvent(load){  
bytestotal = \_root.my\_sound.getBytesTotal();  
}  
onClipEvent(enterFrame){  
bytesloaded = \_root.my\_sound.getBytesLoaded();  
\_root.loaded.text = bytesloaded;  
}

// there is also a dynamic text box on the first frame in the main timeline with an instance name of “loaded”

And it doesnt show the bytes loaded… i’m about to kill myself… why isn’t it working ?
