Anyone know of a quick and easy way of grabbing the ellapsed time of an interval on a Timer. Since Adobe doesn’t have a pause method for the Timer Class.
var timeStart:int = new Date().getTime();Then you can find the elapsed time using this line whenever needed:
var elapsedTime:int = new Date().getTime()-timeStart;
The value will be in milliseconds.
Gotta build one yourself
Check this out…
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.