# Detect move to begin, Timer down to restart

**URL:** <https://forum.kirupa.com/t/detect-move-to-begin-timer-down-to-restart/266342>\
**Category:** flash\
**Created:** [July 18, 2008, 4:05pm UTC](https://forum.kirupa.com/t/detect-move-to-begin-timer-down-to-restart/266342 "2008-07-18T16:05:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gl0tch](https://avatars.discourse-cdn.com/v4/letter/g/51bf81/32.png) [@gl0tch](https://forum.kirupa.com/u/gl0tch)\
**Post date:** [July 18, 2008, 4:05pm UTC](https://forum.kirupa.com/t/detect-move-to-begin-timer-down-to-restart/266342/1 "2008-07-18T16:05:39Z")

</div>

Hi-

I’m building an interactive kiosk presentation and somewhat at a loss as to where to begin. I wanted to share my initial thoughts and see if anyone (hopefully) had some direction as to what I should explore.

The presentation opens with a looping movie (lets call this a screensaver for lack of better words).

- 
  - Frame “A” --\> “Z”, on frame “Z” goToAndPlay “A”\*

If someone moves the mouse, it begins the interactive “site”

_- Eventlistener for onMouseMove, Function goToAndPlay the first frame of the interactive._

If the mouse doesnt move for a certain period of time after the interactive starts, it goes back to Frame “A” (the beginning of the screensaver-esque loop)

_- I’m at a loss_

So, is my logic right here? Setting this all up as a script, is messing me up. I’m not sure if I should be doing this all on one time line or start using \_root functions and calling start/stop functions to child movies from the main scene. Basically, should my main scene be one frame long, with all of this in a larger\_mc, a called from on main script on Layer to of my main timeline?

Any suggestions or direction or examples of similar concepts would be greatly appreciated.

Thank you,

-g
