;

PDA

Click to See Complete Forum and Search --> : Using computers clock to call functions


Érico Lopez
11-24-2007, 04:47 PM
I need to use the computer clock to load a function in a given time in milliseconds after the application has started. How do I do that?

2morrowMan
11-25-2007, 07:52 AM
Use can use setTimeout() function or Timer class.

Érico Lopez
11-25-2007, 11:02 AM
Those are heavily affected by memory usage and I am loading videos.

I figured out a way using date() but it is still affected by memory when the memory load is too heavy.

Schfifty Five
11-25-2007, 11:29 AM
Well getTimer() tells you how many milleseconds since the application started.

Érico Lopez
11-25-2007, 04:59 PM
I ended up just using cue points.