Reference setPath()

setPath()

Change the path for the soundfile.

Examples

Syntax

setPath(path, [successCallback])

Parameters

path
String: Path to the sound file.
successCallback
Function: Function to call when the sound file is loaded.

Related References