Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MY FLASH DROP DOWN MENU IS NOT WORKING...

Status
Not open for further replies.

hugstable77

Programmer
Apr 21, 2006
7
US
Trying to build a dropdown menu... i have menu_mc on my main stage. Menu_mc is an instance of movieClip menu... subBut1_mc is a instance of clip subBut1 on the menu movieClip.

my actionScript on the main stage is:

this.menu_mc.onRollOver = function() {
menu_mc.gotoAndPlay("_over");
trace("over");
}
this.menu_mc.onRollOut = function() {
menu_mc.gotoAndPlay(_down);
trace("out");
}
menu_mc.subBut1_mc.onRollOver = function() {
trace("but1");
}

PROBLEM: the first 2 traces are working but the last one is not... what am i doing wrong...
 
If you use button handlers on a movie clip, those will override any other symbols' actions nested within that movie clip.
Use a hitTest on the movie clip, ratherthan button handlers... Your sub_buttons will then work...

I posted such a dropmenu example in this thread...


Regards. Web Hosting - Web Design
01/07/07 -> OLDNEWBIE VS JOSHUA MUSSLEWHITE
 
ARRRrrrrGGGGG. I'm having issues with dropdowns working too. oldnewbie - I accessed that other post of yours but can't download the file to take a look...?

Here is where I am:

When you click on the quicklinks button, it loads the movie for the pulldown, but the links won't work. It shouldn't be this hard should it??

The flash file is here:

Can you guys help me figure this one out?
 
...help...

been ignoring this part of the presentation for a week because I hadn't a clue, now I have no choice but to address why the silly quick links menu won't work....

I'm eyeballing the window...don't make me jump...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top