# hitTest and set Interval

**URL:** <https://forum.kirupa.com/t/hittest-and-set-interval/201143>\
**Category:** Uncategorized\
**Created:** [September 18, 2006, 10:37pm UTC](https://forum.kirupa.com/t/hittest-and-set-interval/201143 "2006-09-18T22:37:59Z")\
**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, 10:37pm UTC](https://forum.kirupa.com/t/hittest-and-set-interval/201143/1 "2006-09-18T22:37:59Z")

</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.
