|
-
Using computers clock to call functions
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?
-
Use can use setTimeout() function or Timer class.
-
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.
-
5+5=55
Well getTimer() tells you how many milleseconds since the application started.
-
I ended up just using cue points.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|