Flash Beep is a sound effects library. It is built for Javascript usage.
The library is splitted in several categories:
API
| Function | Param 1 | Param 2 | Description |
|---|---|---|---|
| Function name | Parameter 1 | Parameter 2 | Description |
| play | index | volume | Play the sound at the index. By default the volume is set to 100. |
| volume | value | Change the default volume. | |
| mute | Mute mode. |
An event can be sent when the flash is loaded. You can specify the Javascript function in the FlashVars with the parameter onLoad.
Example
<script type="text/javascript">
function isReady()
{
var beep = document.getElementById("beep");
beep.play(1);
}
</script>
<object id="beep" type="application/x-shockwave-flash" data="flashbeep_general.swf" width="1" height="1">
<param name="movie" value="flashbeep_general.swf" />
<param name="FlashVars" value="onLoad=isReady" />
</object>
Categories
General
Download : flashbeep_general.swf (59ko)
Alert
Download : flashbeep_alert.swf (116ko)
Alarm
Download : flashbeep_alarm.swf (124ko)
License
Flash Beep is under Creative Commons BY ND license.