# Help with setInterval!

**URL:** <https://forum.kirupa.com/t/help-with-setinterval/38425>\
**Category:** flash\
**Created:** [December 22, 2003, 7:55pm UTC](https://forum.kirupa.com/t/help-with-setinterval/38425 "2003-12-22T19:55:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inflicted](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@Inflicted](https://forum.kirupa.com/u/Inflicted)\
**Post date:** [December 22, 2003, 7:55pm UTC](https://forum.kirupa.com/t/help-with-setinterval/38425/1 "2003-12-22T19:55:52Z")

</div>

I got this MC I load. How could I put a setInterval function in front of it?

```auto
onClipEvent (load) {
    this._x = 100;
    this._y = 400;
}
onClipEvent (enterFrame) {
    if (this._y>300) {
        this._y -= 5;
    }
}

```

And what if I wanted to do this with several MC’s in the same movie?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 22, 2003, 8:03pm UTC](https://forum.kirupa.com/t/help-with-setinterval/38425/2 "2003-12-22T20:03:54Z")

</div>

in front of what? … for what?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 22, 2003, 8:14pm UTC](https://forum.kirupa.com/t/help-with-setinterval/38425/3 "2003-12-22T20:14:24Z")

</div>

Ehmmm…

I want to make a movie where a couple of MC’s are loaded into.  
I want those MC’s to load on different…intervals?  
So they appear one after the other.

Looking for a way to take my Flash designs to a higher level…

thanks
