Flash Audio Notifications In Javascript

For the chatbox on the new DFTBA Forum I needed to implement a method for a Javascript function to trigger an audio notification. I thought about using HTML5 but realized that not all the target browsers would be compatible so I ended up going for a Flash based version. I’m making this available for free download including all source and a demonstration file.

The player can trigger 14 different audio notifications all taken from Mac OS/X Snow Leopard.
They can be triggered in less than a line of javascript in your code and can be triggered from onclick, onkeypress etc. or just standard JS
The .zip download contains all the .aiff files used as well as the pre-compiled .swf, source .fla and a html demo file

You can demo the applet and all the sounds here
You can download the zip file here

  • Tommy
    Are there any copyright issues using these since they are from Mac's OS?
  • *shrug*
    If you're worried just replace the sounds in the FLA with your own
  • Andrew
    Nice site, interesting posts. I am surprised you don't have more of a following. I am often trying to look at web design of others to further improve my own. Thanks for sharing some of your ideas.
blog comments powered by Disqus