views:

40

answers:

1

If I want to measure the amount of time that has passed in as3 between method calls. Is the highest resolution from:

var now:Number = new Date().getTime();

?

+5  A: 

Use getTimer() method.

Returns — The number of milliseconds since Flash Player was initialized. If the player starts playing one SWF file, and another SWF file is loaded later, the return value is relative to when the first SWF file was loaded

Patrick