by portmanteaufu · 14y ago · 0 comments
[1] http://jawsjs.com/docs/symbols/jaws.Assets.html [2] http://ippa.se/webgames/unexpected_outcome/ [3] http://ippa.se/webgames/unexpected_outcome/game.js
Jaws creates instances of Audio() for each sound, loading them by setting the src-attribute and listening for the canplay event before making the asset as fully loaded.
Just google the Audio-tag, you have play(), pause() etc.