lz.Audio
is the single instance of the class
lz.AudioService
.
<canvas
height
="150
">
<audio
src
="resources/poof.mp3
" name
="poof
"/>
<button
text
="Poof
" onclick
="lz.Audio.playSound('poof');
"/>
</canvas
>
Name (CSS property) | Type (tag) | Type (js) | Default | Category |
---|---|---|---|---|
LzAudio
|
lz.AudioService | readonly | ||
The audio service. Also available as the global
lz.Audio .
|
Methods
Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.