# hitTest and set Interval

**URL:** <https://forum.kirupa.com/t/hittest-and-set-interval/201141>\
**Category:** flash\
**Created:** [September 18, 2006, 9:55pm UTC](https://forum.kirupa.com/t/hittest-and-set-interval/201141 "2006-09-18T21:55:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mediablitz](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mediablitz](https://forum.kirupa.com/u/mediablitz)\
**Post date:** [September 18, 2006, 9:55pm UTC](https://forum.kirupa.com/t/hittest-and-set-interval/201141/1 "2006-09-18T21:55:56Z")

</div>

I have an interesting problem;

I have an initial movieclip (movieclip\_1) loaded and I want to be able to time the length spent with the mouse down over movieclip\_1 and then load movieclip\_2 after, say, 10 seconds have elapsed.

If the mouse is pushed outside the active area then after the 10 seconds have elapsed, movieclip\_3 is loaded instead.

Any ideas?

I would be very grateful.

My coding skills are abyssmal.
