Hi,
Couldn't you use the date object and call
valueOf():Number
Returns the number of milliseconds since
midnight January 1, 1970, universal time, for a Date object.
then make another date object on the next round you want to test and call the same thing and then subtract the two?
Just a
Or event simpler...
import flash.utils.getTimer;
Returns
int — 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.
, 2006 9:54
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Trace timing
I'm
trying to find where all the time is being spent in my app. I tried
using:
trace(new Date().toTimeString() + ': Starting xyz');
But the timestring only goes to seconds. Is there any better way to have
3 matches
Mail list logo