Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Flash MX 2004: drop down menu

Posted on 2006-10-27
Last Modified: 2011-09-20
Basically i create my drop down menu according to this site:

It does work fine. My problem is:
when my cursor point to Button A, its submenu appears.
Then i move my cursor to Button B, submenu of Button B appears but submenu of Button A is not disappear. Sometimes it dissappear but sometimes not.

Anyone could help me? Or you do have better idea on doing this drop down menu. Pls kindly solve this matter for me.

Thanks in advance.
Question by:tloip
  • 2
  • 2
LVL 23

Expert Comment

ID: 17820989
The tutorial is for building one button with drop-down
As you have built another (B) .. along with A .. the problem will be with the roll-off button.. it is only coded for one button.
You can fix this by giving each button an instance name .. say buttonA  and buttonB
then on the roll-off button..


as you roll off any part of either drop-down both buttons will be reset



Author Comment

ID: 17825408
Thanks for helping me.

I tried to do it. Now, two menu list will not appeared at the same time.
but the problem is all the menu list can't dissappear at the same time.

I give instance name for both button (btn-snow2 & btn-school2 respectively).
I create different rolloff for each button with diff instance name (instance name of 1st rolloff is  "roll-back" - for 1st button,  instance name of 2nd rollof is "roll" - 2nd button)
For both Rolloff, i typed same function:


Is it correct? Pls kindly adv..Thanks.
LVL 23

Accepted Solution

Zeffer earned 250 total points
ID: 17826962
I tried making one of these and as you say.. and the original code is fine..one button works .. but it got as buggy as hell when more buttons are added.
The problem does lie with the rollout button and the trick is to surround the menus.. not have it in one piece in the background.. so we can forget the new coding I suggested.
Seeing i made one have posted it for you to look at.



Author Comment

ID: 17831131
Thanks Zeffer. Actually i can do it by using this over the weekend


just that, i removed "_root.".

Million thanks... :-)


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reduce the size of the Flash SWF file it executes 12 419
Adobe flash player fails to install 12 313
bandwidth 5 75
HTML 5 video and audio or Flash 1 60
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question