# Pause setInterval

**URL:** <https://forum.kirupa.com/t/pause-setinterval/189917>\
**Category:** flash\
**Created:** [June 7, 2006, 6:58am UTC](https://forum.kirupa.com/t/pause-setinterval/189917 "2006-06-07T06:58:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![demistified](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@demistified](https://forum.kirupa.com/u/demistified)\
**Post date:** [June 7, 2006, 6:58am UTC](https://forum.kirupa.com/t/pause-setinterval/189917/1 "2006-06-07T06:58:09Z")

</div>

Hi, I have a question regarding the photo slideshow using XML and flash

([http://www.kirupa.com/developer/mx2004/xml\_slideshow3.htm](http://www.kirupa.com/developer/mx2004/xml_slideshow3.htm))

How can you create a button that will pause the slideshow? I can’t find a way to stop the setInterval function once it’s running.

Anyhelp would be greatly appreciated!!
