# Pause Button

**URL:** <https://forum.kirupa.com/t/pause-button/186187>\
**Category:** flash\
**Created:** [April 19, 2006, 4:46pm UTC](https://forum.kirupa.com/t/pause-button/186187 "2006-04-19T16:46:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wyclef](https://avatars.discourse-cdn.com/v4/letter/w/65b543/32.png) [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Post date:** [April 19, 2006, 4:46pm UTC](https://forum.kirupa.com/t/pause-button/186187/1 "2006-04-19T16:46:18Z")

</div>

I’ve got a movie that’s all on the root timeline and a pause button that basically just stops(); the movie but it’s a bit buggy if you click it on the frames that are running some actionscript. I was wonder if someone knows of a less crude way to pause a flash movie?

I think the trouble is happening when I click pause on frames that are running a setInterval command (timer = setInterval(pause, 2000);). So should i just add a delete.timer; command or something prior to the stop(); in the pause button?
