# Make button inactive

**URL:** <https://forum.kirupa.com/t/make-button-inactive/26348>\
**Category:** flash\
**Created:** [July 22, 2003, 6:03am UTC](https://forum.kirupa.com/t/make-button-inactive/26348 "2003-07-22T06:03:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://forum.kirupa.com/u/Dave)\
**Post date:** [July 22, 2003, 6:03am UTC](https://forum.kirupa.com/t/make-button-inactive/26348/1 "2003-07-22T06:03:59Z")

</div>

OK i have an fla to explain this better.

On my main movie i have a sliding door.  
Underneath the door i have two buttons.

Even when the door is closed, and although the buttons are below the door, when you mouse over the closed door you still get the mouse hand (acting as if there is a button below).

I want those buttons under the door only to be active once the door is open, is there a way to get around this?

I tried setting them to invisable, but once i have set that, i cant set them to visable.

Anyone know a way?

🙂

---

<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:** [July 22, 2003, 6:05am UTC](https://forum.kirupa.com/t/make-button-inactive/26348/2 "2003-07-22T06:05:42Z")

</div>

how did u make them invisible? actionscript or alpha?

---

<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:** [July 22, 2003, 6:09am UTC](https://forum.kirupa.com/t/make-button-inactive/26348/3 "2003-07-22T06:09:56Z")

</div>

i made them invisable by actionscript.

But i havnt used that in this example.

---

<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:** [July 22, 2003, 6:10am UTC](https://forum.kirupa.com/t/make-button-inactive/26348/4 "2003-07-22T06:10:35Z")

</div>

i fixed it by setting the visibility true or false w/ as  
heres the fixed fla  
[www.barbdwyer.com/button.fla](http://www.barbdwyer.com/button.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:** [July 22, 2003, 6:14am UTC](https://forum.kirupa.com/t/make-button-inactive/26348/5 "2003-07-22T06:14:02Z")

</div>

your link didnt work ;(

---

<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:** [July 22, 2003, 6:16am UTC](https://forum.kirupa.com/t/make-button-inactive/26348/6 "2003-07-22T06:16:10Z")

</div>

yeah, my servers not working  
just enter the code into the door movie clip right before it’s going to show the buttons  
\_root.button1.\_visible = true  
and on the first frame of the main timeline set  
\_root.button1.\_visible = false

do the same for the second button

---

<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:** [July 22, 2003, 6:18am UTC](https://forum.kirupa.com/t/make-button-inactive/26348/7 "2003-07-22T06:18:47Z")

</div>

here, i zipped it and ill attach it  
hope this helps 🙂

---

<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:** [July 22, 2003, 6:26am UTC](https://forum.kirupa.com/t/make-button-inactive/26348/8 "2003-07-22T06:26:10Z")

</div>

yep got it, thanks :bounce:

---

<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:** [July 22, 2003, 6:27am UTC](https://forum.kirupa.com/t/make-button-inactive/26348/9 "2003-07-22T06:27:33Z")

</div>

i did the same thing b4 and used “visable=true” for eg, and it didnt work.  
This way it seems to work!!

Thanks again.

---

<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:** [July 22, 2003, 6:31am UTC](https://forum.kirupa.com/t/make-button-inactive/26348/10 "2003-07-22T06:31:42Z")

</div>

sure thing
