# \[mx\] setInterval

**URL:** <https://forum.kirupa.com/t/mx-setinterval/53334>\
**Category:** flash\
**Created:** [June 2, 2004, 5:14pm UTC](https://forum.kirupa.com/t/mx-setinterval/53334 "2004-06-02T17:14:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sizzle](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@sizzle](https://forum.kirupa.com/u/sizzle)\
**Post date:** [June 2, 2004, 5:14pm UTC](https://forum.kirupa.com/t/mx-setinterval/53334/1 "2004-06-02T17:14:47Z")

</div>

i have only been using flash for a few months and have not yet utilized setInterval

i have a loop that i want to run through once and then pause and then continue etc  
so i can have each little test.swf pop up one by one rather than all at once

```auto
 
createEmptyMovieClip("menu", 10);
function createMenus() {
 aMenu = new Array();
	aMenu = ["test.swf", "test2.swf", "test.swf", "test2.swf"];
  for (i=0; i<aMenu.length; i++) {
   menu.createEmptyMovieClip("menu"+i, 100+i);
   menu["menu"+i]._x = i*100;
   menu["menu"+i]._y = 100;
   menu["menu"+i].loadMovie(aMenu*);
  }
}

```
