![]() |
#4
|
|||
|
|||
Hi,
In Vizard 3.0 you can query the state of an audio object. So you can create a timer that checks the state and performs some code when the audio stops. Here is sample code to check the state of an audio object: Code:
a = viz.add('myaudio.mp3') . . . state = a.getState() if state == viz.MEDIA_STOPPED: print 'Audio is stopped' |
|
|