# Stop Flash Animation After 30 Seconds

**URL:** <https://forum.kirupa.com/t/stop-flash-animation-after-30-seconds/285828>\
**Category:** flash\
**Created:** [April 7, 2009, 2:37am UTC](https://forum.kirupa.com/t/stop-flash-animation-after-30-seconds/285828 "2009-04-07T02:37:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgibers1](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@cgibers1](https://forum.kirupa.com/u/cgibers1)\
**Post date:** [April 7, 2009, 2:37am UTC](https://forum.kirupa.com/t/stop-flash-animation-after-30-seconds/285828/1 "2009-04-07T02:37:28Z")

</div>

Hello,  
I am a Flash “newbie” working on an animated web banner. The specifications say that the animation must stop after 30 seconds but can on a mouse rollover. My animation is just a looping rotating circle created on the timeline. How can I get this looping animation to stop after 30 seconds? Also, is there a simple way to have the animation resume on a mouse rollover?

Any help would be most appreciated. I have been attempting different scripts using setTimeout but so far cannot seem to get it to work.:emb:

Thank you!
