# How do i stop this looping

**URL:** <https://forum.kirupa.com/t/how-do-i-stop-this-looping/238792>\
**Category:** flash\
**Created:** [September 15, 2007, 6:06am UTC](https://forum.kirupa.com/t/how-do-i-stop-this-looping/238792 "2007-09-15T06:06:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vands](https://avatars.discourse-cdn.com/v4/letter/v/cc9497/32.png) [@vands](https://forum.kirupa.com/u/vands)\
**Post date:** [September 15, 2007, 6:06am UTC](https://forum.kirupa.com/t/how-do-i-stop-this-looping/238792/1 "2007-09-15T06:06:16Z")

</div>

Hi,

I’m trying to make this movie clip play in random intervals using setInterval. However I cant seem to stop it from looping. Im guessing every time the instance of that MC is called it executes the function again. Anyways here is the source file for u to look at:  
[crast.us/tatsumaki/block\_test.zip](http://crast.us/tatsumaki/block_test.zip)

Any help is much appreciated!  
Dan
