views:

93

answers:

1

We have a simple flex game.

And I want to keep my FPS constantly.

Now I use:

(new Date()).getTime();

It's OK in windows and it's OK in flashplayer on Mac and Linux.

But in browsers in Mac and Linux this method is too slow. What can I use instead?