This multimedia application loads in external
images and mp3 files. The graphics are all stored in directories
outside of the .swf and loaded in at runtime.
The audio and images are all based on public domain works from
Librivox.org and
Project Gutenberg.
Here is a function I created to play to handle the sound for a specified track name:
// Create function to handle requests to stop all sounds and play files
function trackPlayer(trackName:String):void
{
// Discontinue previous sounds
SoundMixer.stopAll();
// Create new URL requst
sound = new Sound(new URLRequest(trackName));
// Play sound
sound.play();
}