Posted by
Sam Rudge in
Flash,
HTML,
Sound,
Web Design on
05 9th, 2010 |
View Comments
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...