# Problem with "\_visible"

**URL:** <https://forum.kirupa.com/t/problem-with--visible/291747>\
**Category:** flash\
**Created:** [July 4, 2009, 3:12pm UTC](https://forum.kirupa.com/t/problem-with--visible/291747 "2009-07-04T15:12:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbitkill](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jbitkill](https://forum.kirupa.com/u/jbitkill)\
**Post date:** [July 4, 2009, 3:12pm UTC](https://forum.kirupa.com/t/problem-with--visible/291747/1 "2009-07-04T15:12:03Z")

</div>

I am working on a ‘guide to the solar system’ in Flash CS4, even though I use AS2 due to AS3 is confusing. If I rollover Venus for example, I want the rest of the planets to disappear using the ‘\_visible’ command. All of the planets are buttons like ‘venus\_btn’.

This is my code for ‘venus\_btn’:

```auto
on (rollOver) {
 mercury_btn._visible = false;
}

```

This doesn’t work, do I need to set a class or a varible? That’s all the code I’ve used.

Thanks  
jbitkill
