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:
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.