# Preload sound files before movie starts

**URL:** <https://forum.kirupa.com/t/preload-sound-files-before-movie-starts/302770>\
**Category:** flash\
**Created:** [January 7, 2010, 9:36am UTC](https://forum.kirupa.com/t/preload-sound-files-before-movie-starts/302770 "2010-01-07T09:36:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![irot](https://avatars.discourse-cdn.com/v4/letter/i/bc79bd/32.png) [@irot](https://forum.kirupa.com/u/irot)\
**Post date:** [January 7, 2010, 9:36am UTC](https://forum.kirupa.com/t/preload-sound-files-before-movie-starts/302770/1 "2010-01-07T09:36:05Z")

</div>

Hi All,  
I have an SWF which requires the loading of several external sounds (MP3 files). I am able to load and play these files just fine when testing locally, by way of creating a new Sound() and playing them as needed (streaming).

However, I worry that the larger sound files will eventually fall out of sync with the movie if they haven’t buffered enough data.

Is there a way for me to load all my sound files at the start before my movie starts playing, and then only call a specific one as needed later on in the movie?

Just a note, importing my sounds into the library is not really feasible as the sounds will be updated frequently.

Thanks!

irot
