# How do I turn off a button?

**URL:** <https://forum.kirupa.com/t/how-do-i-turn-off-a-button/56040>\
**Category:** Uncategorized\
**Created:** [June 30, 2004, 2:54am UTC](https://forum.kirupa.com/t/how-do-i-turn-off-a-button/56040 "2004-06-30T02:54:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dallas](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@dallas](https://forum.kirupa.com/u/dallas)\
**Post date:** [June 30, 2004, 2:54am UTC](https://forum.kirupa.com/t/how-do-i-turn-off-a-button/56040/1 "2004-06-30T02:54:55Z")

</div>

Hi guys,

Attached is a navigation I’m working on…

Basically the viewer clicks onto the button; the navigation moves a certain spot and then a swf is loaded.

My problem is… If this click onto lets say the home button, I don’t want the home button active until they click on another button and so on.

I think it’s something like

myBtn.\_visible = “false” … but I don’t want the word to disapear, just the function of the button…

Also where would I place this code??? as it will need I guess to be continually checking if the buttons a clicked on…

I’m not very good at script… just trying

If anyone can help, it would be fantastic
