# Drop down menu

**URL:** <https://forum.kirupa.com/t/drop-down-menu/3698>\
**Category:** flash\
**Created:** [October 18, 2001, 8:59am UTC](https://forum.kirupa.com/t/drop-down-menu/3698 "2001-10-18T08:59:05Z")\
**Posts on this page:** 7\
**Page:** 1

<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:** [October 18, 2001, 8:59am UTC](https://forum.kirupa.com/t/drop-down-menu/3698/1 "2001-10-18T08:59:05Z")

</div>

hiya gurus, should be a simple question but lend me some cells, my neuro organ is fried workin on solo on a project the past few weeks. ☹

i’m trying to make a drop down menu with all em tiny buttons that reacts on rollover. The drop down menu itself is actually a button and i’m using a button because of the it’s quirky, edgy shape.  
Here’s the problem, rolling over the content buttons, hides my dropmenu since rolling over them is a rollout event for my dropmenu button which hides itself on rollout. Any suggestions to keep the dropmenu alive while the mouse is over the content buttons and to keep it from zipping out when i rollout from the contents to the dropmenu which reads it as a rollover.  
Should i just screw the design, make a rectangle movieclip for the drop menu and use mouse coordinates to check for rollovers? I can’t think anymore, ahhhhh… :x

Please assist, many thanks.  
Wes

---

<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:** [October 18, 2001, 4:19pm UTC](https://forum.kirupa.com/t/drop-down-menu/3698/2 "2001-10-18T16:19:23Z")

</div>

how about … make your existing menu a movieclip, have it expand on a rollover of the top button, and retract with an onClipEvent:

onClipEvent(enterFrame){  
if(this.hitTest(\_root.\_xmouse,\_root.\_ymouse,true)){  
retract actions…  
}  
}

the “true” part means to evaluate the actual shape of the movie rather than just the bounding rectangle. keep in mind that the hit area for a button can be different than the button, and invisible shapes in the movie will count as a hit too.

enough to jumpstart the neuro organ?

cheers.

---

<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:** [October 18, 2001, 7:05pm UTC](https://forum.kirupa.com/t/drop-down-menu/3698/3 "2001-10-18T19:05:12Z")

</div>

This may be off topic, but I’m currently working on a drop-down menu tutorial that will use some mild actionscripting to work properly. I hope to have it up by this weekend 🙂

PS: Wesley, are you a moderator on the [madonion.com](http://madonion.com) forums? The name sounds familiar.

Cheers,  
Kirupa

---

<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:** [October 18, 2001, 9:45pm UTC](https://forum.kirupa.com/t/drop-down-menu/3698/4 "2001-10-18T21:45:49Z")

</div>

Awsome…\*\*\*\* you AS gods!..i the lonely artist is forced to rely on tweening for drop down menues _runs and hides_

---

<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:** [October 19, 2001, 1:06am UTC](https://forum.kirupa.com/t/drop-down-menu/3698/5 "2001-10-19T01:06:36Z")

</div>

yes, but your artistic skills far outweight most of our programing skills. 😉

---

<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:** [October 19, 2001, 2:37am UTC](https://forum.kirupa.com/t/drop-down-menu/3698/6 "2001-10-19T02:37:19Z")

</div>

lol thanx 🙂 still need work on AS though.

HAHAHAHAH OMG!!! UPUAUT!!! u have 666 posts!! HAHAHAA

---

<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:** [October 21, 2001, 2:10pm UTC](https://forum.kirupa.com/t/drop-down-menu/3698/7 "2001-10-21T14:10:53Z")

</div>

Yup that was nuff to jump start the neuro organ. Thanks suprabeener, the hitTest tip sure helped.  
Kirupa, nope, i’m not a moderator with madonion. Hope to finish the site fast, i’ll be sure to acknowledge you fellas for the precious assistance. 🙂

Cheers,  
Wesley
