# How to tell/know when a movieclip animation ends

**URL:** https://forum.kirupa.com/t/how-to-tell-know-when-a-movieclip-animation-ends/222875
**Category:** flash
**Created:** [April 17, 2007, 5:09pm UTC](https://forum.kirupa.com/t/how-to-tell-know-when-a-movieclip-animation-ends/222875 "2007-04-17T17:09:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ez74](https://avatars.discourse-cdn.com/v4/letter/e/a6a055/32.png) [@ez74](https://forum.kirupa.com/u/ez74)
#### Post date: [April 17, 2007, 5:09pm UTC](https://forum.kirupa.com/t/how-to-tell-know-when-a-movieclip-animation-ends/222875/1 "2007-04-17T17:09:02Z")

</div>

Hi,

I want to be able to know when a certain movieclip animation ends (Flash MX).

For example:  
The players character shoots an arrow,  
while the arrow animation is on - the players character can’t move,  
when arrow animation ends - the players character is free to move again.

How do I do that?

I’ve tried putting some AS in the last frame of the animation (letting the application know that animation has ended) but once in a while this AS doesn’t execute - maybe Flash drops some frames (and that frame among them)?

Do I have an event for movieclip ending (Flash MX)?  
Is the only way is to use timeouts (setInterval)?

Thnx,  
EZ
