# Clear interval :(

**URL:** <https://forum.kirupa.com/t/clear-interval/142659>\
**Category:** Uncategorized\
**Created:** [March 30, 2005, 4:18pm UTC](https://forum.kirupa.com/t/clear-interval/142659 "2005-03-30T16:18:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)\
**Post date:** [March 30, 2005, 4:18pm UTC](https://forum.kirupa.com/t/clear-interval/142659/1 "2005-03-30T16:18:58Z")

</div>

Im using a function found in this forum to simulate a timer

```php

var numTimeLimit = 60000;
var bolFirstTime = true;
function countDownF() {
	if (bolFirstTime) {		
		numTimeStart = getTimer();
		bolFirstTime = false;
	}
	numTimePassed = getTimer()-numTimeStart;	
	if (numTimePassed>numTimeLimit) {		
		trace("done");
		clearInterval(countDownI);
		
	}
}

```

I just can’t find a way to pause that timer… Also if i move to frame 2 (this is frame 1) and move back to frame one, it doesn’t seem to stop…

can someone help me out please??
