# setInterval, clearInterval and changing interval dynamically

**URL:** https://forum.kirupa.com/t/setinterval-clearinterval-and-changing-interval-dynamically/39860
**Category:** flash
**Created:** [January 12, 2004, 7:56am UTC](https://forum.kirupa.com/t/setinterval-clearinterval-and-changing-interval-dynamically/39860 "2004-01-12T07:56:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Carixpig](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/carixpig/32/304_2.png) [@Carixpig](https://forum.kirupa.com/u/Carixpig)
#### Post date: [January 12, 2004, 7:56am UTC](https://forum.kirupa.com/t/setinterval-clearinterval-and-changing-interval-dynamically/39860/1 "2004-01-12T07:56:29Z")

</div>

Hi,

Attached is my fla. You will see what I am doing by having a look at it, sorry about the file size.

I’m loading pictures at what is initially 5 second intervals. There is a button that is supposed to clear the interval and stop loading the pictures. There is also an input text field to let the user adjust the rate at which the pictures load.

Previously, the clearInterval button was working, but now it doesn’t, and I can’t seem to get the interval to change or be restored if the visitor wants to start loading the images again.

Anyone’s help is appreciated.
