# Quick Troubleshoot: Preloader with external MP3

**URL:** https://forum.kirupa.com/t/quick-troubleshoot-preloader-with-external-mp3/88293
**Category:** flash
**Created:** [April 28, 2005, 3:38am UTC](https://forum.kirupa.com/t/quick-troubleshoot-preloader-with-external-mp3/88293 "2005-04-28T03:38:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ghjr](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@ghjr](https://forum.kirupa.com/u/ghjr)
#### Post date: [April 28, 2005, 3:38am UTC](https://forum.kirupa.com/t/quick-troubleshoot-preloader-with-external-mp3/88293/1 "2005-04-28T03:38:08Z")

</div>

I had a preloader that would load in some external SWF’s… and now decided to also preload a sound I am importing using aSoundObject.load(). This is how I added the sound to the preloader:

```auto

mySound = new Sound();
mySound.loadSound("som/fundo.mp3", false);

bytes = myExternalSwfContainer.getBytesTotal() + mySound.getBytesTotal();
loadedBytes = myExternalSwfContainer.getBytesLoaded() + mySound.getBytesLoaded();

```

For some reason, whenever the preloader starts now… it’ll start something around 70%, so I traced the loadedBytes and found out that it thinks its already loaded about 100Kb on the first loop through (even though it hasn’t). So then, the preloader reaches 100%, calls the site, and the sound isn`t even loaded in completely yet.

Cheers!
