From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle
Sent: 30 June 2006 15:11
To: [email protected]
Subject: Re: [flexcoders] Trace timing
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.
|
Mike
Hi,
Couldn't you use the date object and call
Returns the number of milliseconds since midnight January 1, 1970, universal time, for aDateobject.
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 thought.
Peace, Mike
On 6/30/06, Daniel Tuppeny <[EMAIL PROTECTED] > wrote: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
more accurate timestamps in my trace statements? I'm worried if I do:
.Seconds + .Milliseconds, the statements will evaluated at different
times, and therefore not accurate.
--------------------------------------------------------
The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.
__________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__________________________________________________________--
What goes up, does come down.
--
What goes up, does come down.
[Inbound Mail Scanned by MessageLabs]
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

