# Preloading sounds question

**URL:** <https://forum.kirupa.com/t/preloading-sounds-question/321595>\
**Category:** Uncategorized\
**Created:** [April 25, 2011, 12:49pm UTC](https://forum.kirupa.com/t/preloading-sounds-question/321595 "2011-04-25T12:49:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbowk](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@kbowk](https://forum.kirupa.com/u/kbowk)\
**Post date:** [April 25, 2011, 12:49pm UTC](https://forum.kirupa.com/t/preloading-sounds-question/321595/1 "2011-04-25T12:49:35Z")

</div>

Hi there,

At the moment I have an application which has many classes that control different screens (movieclips) and a Main class which controls the other classes.

I currently have a preloader that just loads the whole swf before it plays. However I am about to start implementing sound, and as they will be loaded from external files, will these be loaded in the preloader? Because I dont want new screens to be stalled because of the loading of sounds.

For example I dont want to have to do this every time I need to play a sound:

```php
soundClip = new Sound();
soundClip.load(new URLRequest("<path to sound file>"));
soundClip.addEventListener(Event.COMPLETE, soundLoaded);
soundClip.addEventListener(ProgressEvent.PROGRESS, soundLoading);

```

Could anyone tell me if all sounds will be loaded in the preloader that loads the whole SWF, or will I need to preload every sound as it is used, thanks alot.
