Class createjs.Sound.HTMLAudioPlayer
Extends
.
Defined in: sound.js.
Constructor Attributes | Constructor Name and Description |
---|---|
A class that implements the createjs.Sound.Player interface with the
HTMLAudioElement interface.
|
Method Attributes | Method Name and Description |
---|---|
handleEvent(event)
|
|
play_(interrupt, delay, offset, loop, volume, pan)
|
|
setMute_(mute)
|
|
setSprite_(id, offset, duration)
|
|
setVolume_(volume)
|
|
stop_()
|
Class Detail
createjs.Sound.HTMLAudioPlayer(item)
A class that implements the createjs.Sound.Player interface with the
HTMLAudioElement interface.
- Parameters:
- {createjs.Loader.Item} item
Method Detail
handleEvent(event)
- Parameters:
- event
play_(interrupt, delay, offset, loop, volume, pan)
- Parameters:
- interrupt
- delay
- offset
- loop
- volume
- pan
setMute_(mute)
- Parameters:
- mute
setSprite_(id, offset, duration)
- Parameters:
- id
- offset
- duration
setVolume_(volume)
- Parameters:
- volume
stop_()