# Time delays on rollOut event

**URL:** <https://forum.kirupa.com/t/time-delays-on-rollout-event/35180>\
**Category:** flash\
**Created:** [November 11, 2003, 11:32am UTC](https://forum.kirupa.com/t/time-delays-on-rollout-event/35180 "2003-11-11T11:32:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crapitoutjim](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@crapitoutjim](https://forum.kirupa.com/u/crapitoutjim)\
**Post date:** [November 11, 2003, 11:32am UTC](https://forum.kirupa.com/t/time-delays-on-rollout-event/35180/1 "2003-11-11T11:32:14Z")

</div>

Hi There,

Does anyone know if it is possible to set up a time delay for rollOff event.

My problem is I have designed a simple dropdown menu and want the dropdowns to remain on screen for a splitsecond longer if the mouse happens to move off the dropdown.

Any help would be much appreaceated

James

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 11:44am UTC](https://forum.kirupa.com/t/time-delays-on-rollout-event/35180/2 "2003-11-11T11:44:15Z")

</div>

an easier solution would be to set the hit area for your menu bigger, so whenever the mouse moves away from the menu a certain distance, your menu would disappear, y’know…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 12:28pm UTC](https://forum.kirupa.com/t/time-delays-on-rollout-event/35180/3 "2003-11-11T12:28:00Z")

</div>

Excellent Idea, sometimes the simplest methods are the best!!

Many Thanks

James

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 12:43pm UTC](https://forum.kirupa.com/t/time-delays-on-rollout-event/35180/4 "2003-11-11T12:43:35Z")

</div>

most experienced flash user prefer to use the hitTest() function instead of rollOvers and rollOuts, check for that function in the forums/tuts (basically it checks whether the mouse or anyother object touches another object)
