currentTime not being updated in standalone... arggghh!

Josh Mellicker josh at dvcreators.net
Thu Apr 27 21:59:13 EDT 2006


I have this handler that is called once when a movie is started:

ON updateTC
     put convertTime(round(the currentTime of player "Player"/the  
timeScale of player "Player")) into fld "mt"

     IF ",updateTC," is not in the pendingMessages THEN send  
"updateTC" to me in ((1 - (the long seconds mod 1)) / 5) seconds
     -- we send this message well settled with the internal clock  
each 200 milliseconds
END updateTC


(from Eric Chatonet's excellent archive)


It works fine in Rev, but the standalone simply refuses to update the  
timecode display.

I barely understand the "idler" concept, so maybe I am doing  
something wrong that does not work in a standalone?

Can anyone point me to other examples, or a different way to do an  
"ongoing background process" that will update the display when the  
movie is playing?


Arrrgghhhh....



More information about the use-livecode mailing list