# Embedding Animation in .as Files

**URL:** <https://forum.kirupa.com/t/embedding-animation-in-as-files/271291>\
**Category:** programming\
**Created:** [September 20, 2008, 11:10pm UTC](https://forum.kirupa.com/t/embedding-animation-in-as-files/271291 "2008-09-20T23:10:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrRobot](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/drrobot/32/3907_2.png) [@DrRobot](https://forum.kirupa.com/u/DrRobot)\
**Post date:** [September 20, 2008, 11:10pm UTC](https://forum.kirupa.com/t/embedding-animation-in-as-files/271291/1 "2008-09-20T23:10:00Z")

</div>

I’m doing some tests in FlashDevelop.  
And i made a little animation of a box spinning in the flash IDE. When i embed the anim in the as file and add to stage, it just keeps playing. is there a way i can make it so it removes itself after it plays one time through?
