# setInterval id

**URL:** <https://forum.kirupa.com/t/setinterval-id/193229>\
**Category:** flash\
**Created:** [July 5, 2006, 11:52am UTC](https://forum.kirupa.com/t/setinterval-id/193229 "2006-07-05T11:52:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alkalinetb](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@alkalinetb](https://forum.kirupa.com/u/alkalinetb)\
**Post date:** [July 5, 2006, 11:52am UTC](https://forum.kirupa.com/t/setinterval-id/193229/1 "2006-07-05T11:52:39Z")

</div>

Hi,

is there anyway to pass the setInterval id number into the function you are wanting to run.

I want the function i run to run clearInterval when a certain test suceeds.

cheers very much
