# First.. then second

**URL:** <https://forum.kirupa.com/t/first-then-second/17152>\
**Category:** Uncategorized\
**Created:** [April 1, 2003, 9:42pm UTC](https://forum.kirupa.com/t/first-then-second/17152 "2003-04-01T21:42:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wa\_ha\_ha\_ha\_ha](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wa_ha_ha_ha_ha/32/55_2.png) [@wa\_ha\_ha\_ha\_ha](https://forum.kirupa.com/u/wa_ha_ha_ha_ha)\
**Post date:** [April 1, 2003, 9:42pm UTC](https://forum.kirupa.com/t/first-then-second/17152/1 "2003-04-01T21:42:40Z")

</div>

Hello,  
I have an onClipEvent on my mc in first frame of my movie, and I want it to finish its action first and then tell it to go to the second frame. I was wondering if some one can help me with that.

---

<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:** [April 1, 2003, 10:02pm UTC](https://forum.kirupa.com/t/first-then-second/17152/2 "2003-04-01T22:02:14Z")

</div>

can you post the code? use

```php
 tags in your reply so we can
see what you see. :)
```

---

<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:** [April 1, 2003, 10:32pm UTC](https://forum.kirupa.com/t/first-then-second/17152/3 "2003-04-01T22:32:44Z")

</div>

```auto
onClipEvent (load) {
	this._parent.stop();
}
onClipEvent (enterFrame) {
	if (this._currentframe == this._totalframes) this._parent.play();
}

```

is that what you meant? =)

---

<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:** [April 1, 2003, 10:35pm UTC](https://forum.kirupa.com/t/first-then-second/17152/4 "2003-04-01T22:35:00Z")

</div>

well, ok then. kax can just come right along and post what  
appears to me to be the right answer! 😛

looks good to me kax. =)

---

<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:** [April 1, 2003, 10:39pm UTC](https://forum.kirupa.com/t/first-then-second/17152/5 "2003-04-01T22:39:21Z")

</div>

yup. it looks good to me too 😛 😉
