sound = new Sound(); sound.loadSound("sound.mp3", true); sound.onLoad = function() { my_sound.play(0, 5); };;