# Movie clip over button

**URL:** https://forum.kirupa.com/t/movie-clip-over-button/184330
**Category:** flash
**Created:** [April 4, 2006, 11:37am UTC](https://forum.kirupa.com/t/movie-clip-over-button/184330 "2006-04-04T11:37:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![martina](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@martina](https://forum.kirupa.com/u/martina)
#### Post date: [April 4, 2006, 11:37am UTC](https://forum.kirupa.com/t/movie-clip-over-button/184330/1 "2006-04-04T11:37:58Z")

</div>

Hi!

I have some buttons which I duplicate all over scene.

At some moment they get covered over by a movie clip and are not visible any more.

The thing is bothering me is that while the movie clip is over the scene the buttons under him are still clickable. I would wish to disable the possibility to click on them (even if they are not visible) while there is movie clip over them.

How can I do that?

Thx.  
Martina

---

<div class="post-metadata">

### Author: ![Dutchy](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@Dutchy](https://forum.kirupa.com/u/Dutchy)
#### Post date: [April 4, 2006, 12:09pm UTC](https://forum.kirupa.com/t/movie-clip-over-button/184330/2 "2006-04-04T12:09:44Z")

</div>

Hi Martina,

use this script when the movieclip is visible:

```auto

but1.enabled = false;
but1.enabled = false;
//etc.

```

to enable them again:

```auto

but1.enabled = true;
//etc..

```

hope it helps,  
Dutchy

---

<div class="post-metadata">

### Author: ![martina](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@martina](https://forum.kirupa.com/u/martina)
#### Post date: [April 4, 2006, 12:36pm UTC](https://forum.kirupa.com/t/movie-clip-over-button/184330/3 "2006-04-04T12:36:58Z")

</div>

Hi!

Thx for quick reply. It did not work because… I have no idea why.

But I have on this movie clip on the bottom frame inserted another button which coveres the secene (leading nowhere). So now it is working fine. 🙂

Looks one again that simplest solution is best one 🙂
