soundManager.url = '/swf/'; // directory where SM2 .SWFs live

soundManager.useFlashBlock = false; // skip for now. See the flashblock demo when you want to start getting fancy.

// Note that SoundManager will determine and append the appropriate .SWF file to the URL.

// disable debug mode after development/testing..
soundManager.debugMode = false;

// Option 1: Simple createSound method

//soundManager.onload = function() {
  // SM2 has loaded - now you can create and play sounds!
  //soundManager.createSound('helloWorld','/path/to/hello-world.mp3');
  //soundManager.play('helloWorld');
//};

// Option 2: More flexible createSound method (recommended)

soundManager.onload = function() {

}

function playSound() {
   var mySound = soundManager.createSound({
    id: 'aSound',
    url: 'beep.mp3'
    // onload: [ event handler function object ],
    // other options here..
  });
  mySound.play();
}

