PDA

View Full Version : my drop down menu is not working...



huggy77
February 15th, 2007, 05:13 PM
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...

huggy77
February 15th, 2007, 06:15 PM
talk about overkill - i put that script (minus the references to the menu_mc) on the stage by dragging menu out of the library and all is good...