# After an event. (timer or setInterval?)

**URL:** <https://forum.kirupa.com/t/after-an-event-timer-or-setinterval/84447>\
**Category:** flash\
**Created:** [March 27, 2005, 9:02pm UTC](https://forum.kirupa.com/t/after-an-event-timer-or-setinterval/84447 "2005-03-27T21:02:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tiziano](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@Tiziano](https://forum.kirupa.com/u/Tiziano)\
**Post date:** [March 27, 2005, 9:02pm UTC](https://forum.kirupa.com/t/after-an-event-timer-or-setinterval/84447/1 "2005-03-27T21:02:15Z")

</div>

On frame three of a movie I’m working on I have an alpha fade that takes 3 seconds to complete. Once finished (ie - this.\_alpha = 0) I want the movie head to go to frame 4.

My alpha fade looks like this on a mc instance:  
onClipEvent (load) {

```
this._alpha = 100;
this.alphaTo (0, 10);

```

}

That works fine but every attempt of either a setInterval or \_root.gotoAndStop(4); either gives me an error or simply goes to frame four without doing the fade first.

Seems pretty simple but I’m lost.
