466 posts
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Has been part of the Envato Community for over 6 years
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
uiuxaesthetics
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.

6224 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
+11 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 6 years
+4 more
marpies
says

Gotta build one yourself ;)

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

466 posts
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Has been part of the Envato Community for over 6 years
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
uiuxaesthetics
says

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

by
by
by
by
by
by