# Run an enterfram for a limited period of time

**URL:** <https://forum.kirupa.com/t/run-an-enterfram-for-a-limited-period-of-time/311039>\
**Category:** flash\
**Created:** [June 25, 2010, 8:09pm UTC](https://forum.kirupa.com/t/run-an-enterfram-for-a-limited-period-of-time/311039 "2010-06-25T20:09:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![humbucker](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Post date:** [June 25, 2010, 8:09pm UTC](https://forum.kirupa.com/t/run-an-enterfram-for-a-limited-period-of-time/311039/1 "2010-06-25T20:09:27Z")

</div>

Hi!

Simple question, when I’m leaving (mouseOut) an object, I would still like to perform my enterframe to decrease a value, for lets say 2 seconds and then stop.  
I dont quite understand how to do that with Timer events,  
houw could I achieve this pelase ?

Thank you
