
sound
<sound>
<clip url='string' delay='float' />
<clip url='string' delay='float' />
...
</sound>
Description
sound holds any number of MP3 sound clips to play.
- url: Relative or absolute URL of the MP3 sound clip to play
- delay: The delay in seconds before playing the sound clip
Example
<gauge>
<text x='50' y='50' width='300' align='center' size='30'>Sound Example</text>
<sound>
<!-- play this sound clip immediately (0 delay) -->
<clip url='/gauge/sound/yeah.mp3' />
<!-- play the same sound clip after 5 seconds -->
<clip url='/gauge/sound/yeah.mp3' delay='5' />
</sound>
</gauge>
|
|