465 posts
  • Bought between 100 and 499 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 100 000 and 250 000 dollars
  • United States
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.

5729 posts
  • Exclusive Author
  • Author had a File in an Envato Bundle
  • Elite Author
  • Has been a member for 5-6 years
  • Sold between 100 000 and 250 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • India
+3 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 been a member for 5-6 years
  • Beta Tester
  • Sold between 5 000 and 10 000 dollars
  • Author had a Free File of the Month
  • Europe
  • Bought between 1 and 9 items
  • Exclusive Author
  • Referred between 1 and 9 users
marpies says

Gotta build one yourself ;)

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

465 posts
  • Bought between 100 and 499 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 100 000 and 250 000 dollars
  • United States
CurtyCurt says

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

by
by
by
by
by
by