Use Javascript for that kind of stuff. Here's some code for you:
CODE
<script language="JavaScript">
<!--
// Script Source: www.CodeBrain.com
var audioOn = false;
function audioDo(doWhat,toWhat){
if(audioOn){
var A = eval('document.'+toWhat);
if (A != null){
if (doWhat=='stop') A.stop();
else{
if (navigator.appName == 'Netscape') A.play();
else{
if (document.M == null){
document.M = false; var m;
for(m in A) if (m == "ActiveMovie"){
document.M = true; break;
}
}
if (document.M) A.SelectionStart = 0;
if (document.M) A.play();
}
}
}
}
}
//-->
</script>
And here is a link to where it came from get the kit and you can play around with it till you get what you want, then all you need is to get a bunch of sounds to go with the events.
I used to do that with static web pages but am more into PHP and so forth. but hope that gets you started.
This script can be found in its entirety right at this link
to sound kitLook Almost all the way down the page and find the Essential Tricks category and look for the JavaScript Sound Download Kit and you should have more than you need to accomplish your task.
Comment/Reply (w/o sign-up)