Movie clip over button

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

Hi Martina,

use this script when the movieclip is visible:


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

to enable them again:


but1.enabled = true;
//etc..

hope it helps,
Dutchy

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. :slight_smile:

Looks one again that simplest solution is best one :slight_smile: