# Idle loop

**URL:** <https://forum.kirupa.com/t/idle-loop/321690>\
**Category:** Uncategorized\
**Created:** [April 27, 2011, 5:39pm UTC](https://forum.kirupa.com/t/idle-loop/321690 "2011-04-27T17:39:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alyssahhhh](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@alyssahhhh](https://forum.kirupa.com/u/alyssahhhh)\
**Post date:** [April 27, 2011, 5:39pm UTC](https://forum.kirupa.com/t/idle-loop/321690/1 "2011-04-27T17:39:32Z")

</div>

I’m creating a SWF for an installation that needs to loop, or reload once the trackpad/mouse/whatever is idle for a minute. I’ve been googling mad code, but can’t find anything that works for what I have.  
The code is self-contained. It doesn’t load from anywhere else, there aren’t any classes, just code; I just need it to return to its initial state when it has been idle. Suggestions?
