Franck
2004-10-07 16:17:02 UTC
Hi,
I try to create a timer to automatically change visualizations on a period
of time determined in the script. I tried with a while loop to check with
player.controls.currentposition but it freezes the player...
For example, I want the viz to be changed every 15 seconds...
"visEffects.next();" need to be execute every 15 seconds.
Is there any way to retrieve the system clock and use this to repeatly
execute an event?
Any ideas?
Thx a lot
Franck
I try to create a timer to automatically change visualizations on a period
of time determined in the script. I tried with a while loop to check with
player.controls.currentposition but it freezes the player...
For example, I want the viz to be changed every 15 seconds...
"visEffects.next();" need to be execute every 15 seconds.
Is there any way to retrieve the system clock and use this to repeatly
execute an event?
Any ideas?
Thx a lot
Franck