# Triggering an event at the end of a MovieClip's timeline?

**URL:** https://forum.kirupa.com/t/triggering-an-event-at-the-end-of-a-movieclips-timeline/298485
**Category:** flash
**Created:** [October 19, 2009, 10:34pm UTC](https://forum.kirupa.com/t/triggering-an-event-at-the-end-of-a-movieclips-timeline/298485 "2009-10-19T22:34:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zachwlewis](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zachwlewis/32/350_2.png) [@zachwlewis](https://forum.kirupa.com/u/zachwlewis)
#### Post date: [October 19, 2009, 10:34pm UTC](https://forum.kirupa.com/t/triggering-an-event-at-the-end-of-a-movieclips-timeline/298485/1 "2009-10-19T22:34:42Z")

</div>

I’ve a MovieClip named “Player” that contains three MovieClips (one on each frame): “Idle”, “Walk”, and “Attack”. Idle and Walk are working as intended—when Player is on the appropriate frame, the animation cycles constantly; however, I am having trouble with my Attack animation.

I want the Attack animation to only play through completely one time then throw an event so I can resume either the Idle or Walk animation. Is there an event that fires at the end of a MovieClip’s timeline, or is there a better way to do this? :megaman\_classic:
