# Please Help! Best way to do buttons/menus?

**URL:** <https://forum.kirupa.com/t/please-help-best-way-to-do-buttons-menus/148933>\
**Category:** flash\
**Created:** [May 24, 2005, 6:48pm UTC](https://forum.kirupa.com/t/please-help-best-way-to-do-buttons-menus/148933 "2005-05-24T18:48:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![macgirl](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@macgirl](https://forum.kirupa.com/u/macgirl)\
**Post date:** [May 24, 2005, 6:48pm UTC](https://forum.kirupa.com/t/please-help-best-way-to-do-buttons-menus/148933/1 "2005-05-24T18:48:01Z")

</div>

Hello,

I’m (still) trying to make a dropdown menu with submenus. I have several versions I’m trying, but need advice from an expert: What is the best way to insure proper detection/activation of rollOver/rollOut states? I need my menu items to be able to 1) load an external swf; and 2) go to a specific frame on the loaded external swf. This, I can accoplish in all but the last menu I mention below:

hitTest: I have a menu that uses hitTest, but it’s very chokey. Is hitTest too CPU intensive?

onEnterFrame: I also have ones that are based on on(rollOver) with onEnterFrame functions. This gets chokey too, sometimes, but not as badly as the hitTest one above.

lotsofscript: The last one I wish I could use populates the menu content via Actionscript. There’s a HUGE thing of code at the very beginning where you specify what the menu items will be, and it just “happens” (i.e., I don’t know what I’m talking about, but it was a lovely tutorial.) Because this is my very very favorite one, if someone could help me with this file, I would really appreciate it. [file attached, if anyone would be willing]

I’m certain that there are numerous other ways to do rollOver/Out states that are effective and not CPU intensive. Could someone point me in the right direction?

Thank you so much for your time!

macgirl  
:dog:
