# Death Animation

**URL:** <https://forum.kirupa.com/t/death-animation/327600>\
**Category:** flash\
**Created:** [March 13, 2012, 2:49pm UTC](https://forum.kirupa.com/t/death-animation/327600 "2012-03-13T14:49:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaeger138](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@jaeger138](https://forum.kirupa.com/u/jaeger138)\
**Post date:** [March 13, 2012, 2:49pm UTC](https://forum.kirupa.com/t/death-animation/327600/1 "2012-03-13T14:49:54Z")

</div>

[COLOR=#000000][FONT=verdana]Can someone please give me an example of some code that would, when an MCs ‘health’ variable is reduced to 0, play a death animation from frames 1 to 42 and then remove the clip from the scene? I can’t seem to get it to remove or play the full animation before it removes, it just stops on frame 2 and keeps on going.[/FONT][/COLOR]
