video player time display
kray at sonsothunder.com
Tue Jul 17 16:45:34 CDT 2007
On Tue, 17 Jul 2007 11:54:31 -0700, Sieg Lindstrom wrote:
> I'm working for the first time with players. I'd like my stack, which will
> be used to work with video, to include include a running timer display (in
> the format minutes:seconds.tenths of seconds). I know to do the
> currentTime/timeScale calculation and then go from there to display in
> minutes:seconds.tenths format.
> What is the most reasonable condition to trap for to perform the calculation
> frequently enough so the display is timely and responsive but doesn't demand
> unnecessarily frequent recalculation of the time?
Sieg, are you using a "send in..." construct? Or a repeat loop? If it's
"send in", then I'd suggest sending it every 100 milliseconds since
you're displaying tenths of seconds.
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode