Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

View Project on GitHub Download Pixel.js (v0.9b)

Sound.load Method

Loads the sound.

Parameters

Name Description
info An object containing the following properties:

  • name: the name of the Sound.
callback Optional: the function to be called when the sound has finished loading.

Examples

Supported Platforms

Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.