465 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+5 more
CurtyCurt says

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.

6000 posts
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+8 more
VF says
Put this line when timer starts:
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.

182 posts
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 5 years
+5 more
marpies says

Gotta build one yourself ;)

Check this out…
http://www.lewinzki.com/tutorials/actionscript/pausetimer.php

465 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+5 more
CurtyCurt says

VF ....Exactly what i was looking for ! Thanks Dude!

by
by
by
by
by
by