Visible = false?

Okay, normally i got Claudio on my msn to bug with these kinda questions, but hes not online.

My problem is, that i have this sorta drop down menu, which should be closing when i roll over a big mother ****er area in the background. This code on the background:

on(rollOver){_root.antenne_menu.visible = false;}

This on the button that should show the menu:

on(rollOver){_root.antenne_menu.visible = true;}

and this on the first frame of the timeline:

_root.antenne_menu.visible = false;}

Now the problem is, that nothing works. I could use _alpha of course, but i can still press the submenus, they has just gotten invisibles. So help me if you please

Why not try simply moving the playhead to a frame where the menu is either physically there or not there. That eliviates the problems of roll over detection on something invisible.

Umm, yeah i dunno why i tried doing it this way. Its inside a mc now, where it shows the menu on frame 2. Then some weird hit area, which closes the menu on rollOver.

Ive gotten another problem now though. When i roll over the button, which is revealing the menu, it, of course, shows the menu. But when i roll over the same button again, it closes the menu. I really cant see why it does this.

Take a look at the fla if you want: http://voursez.net/ejbynet/menu.fla

Nvm, it was apparently because i used gotoAndPlay indstead of gotoAndStop

when you roll above the ‘Priser’ option in the menu, you are rolling over the ‘hider’ clip on the layer below it. Hence it goes back to frame 1. Try making 4 hiders that have the same code but lie outside the button area. Hope that makes sense!

Yeah it makes sense, but everything solved with gotoAndStop. Thanks for your help :stuck_out_tongue: