code_junkie

Multithreading or green threading in actionscript?

Nov 10th, 2011
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. start = getTimer();
  2. //thread is a ui component added to system manager that is redrawn each frame
  3. var fr:Number = Math.floor(1000 / thread.systemManager.stage.frameRate);
  4. due = start + fr;
Add Comment
Please, Sign In to add comment