# Visible = false?

**URL:** <https://forum.kirupa.com/t/visible-false/66088>\
**Category:** flash\
**Created:** [October 2, 2004, 11:41am UTC](https://forum.kirupa.com/t/visible-false/66088 "2004-10-02T11:41:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Voursez](https://avatars.discourse-cdn.com/v4/letter/v/b5ac83/32.png) [@Voursez](https://forum.kirupa.com/u/Voursez)\
**Post date:** [October 2, 2004, 11:41am UTC](https://forum.kirupa.com/t/visible-false/66088/1 "2004-10-02T11:41:00Z")

</div>

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:

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

```

This on the button that should show the menu:

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

```

and this on the first frame of the timeline:

```auto
_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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 2, 2004, 11:51am UTC](https://forum.kirupa.com/t/visible-false/66088/2 "2004-10-02T11:51:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 2, 2004, 12:00pm UTC](https://forum.kirupa.com/t/visible-false/66088/3 "2004-10-02T12:00:13Z")

</div>

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](http://voursez.net/ejbynet/menu.fla)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 2, 2004, 12:11pm UTC](https://forum.kirupa.com/t/visible-false/66088/4 "2004-10-02T12:11:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 2, 2004, 12:19pm UTC](https://forum.kirupa.com/t/visible-false/66088/5 "2004-10-02T12:19:08Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 2, 2004, 12:24pm UTC](https://forum.kirupa.com/t/visible-false/66088/6 "2004-10-02T12:24:07Z")

</div>

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