# Load Movie. Buttons under still active!

**URL:** <https://forum.kirupa.com/t/load-movie-buttons-under-still-active/13915>\
**Category:** flash\
**Created:** [February 19, 2003, 7:28pm UTC](https://forum.kirupa.com/t/load-movie-buttons-under-still-active/13915 "2003-02-19T19:28:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neuhaus3000](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/neuhaus3000/32/168_2.png) [@Neuhaus3000](https://forum.kirupa.com/u/Neuhaus3000)\
**Post date:** [February 19, 2003, 7:28pm UTC](https://forum.kirupa.com/t/load-movie-buttons-under-still-active/13915/1 "2003-02-19T19:28:35Z")

</div>

Hello Everyone,

I have a main movie… (level 0)  
I have a button that loads a movie above  
my main movie (level 1)  
My movie loads ok (level 1) but the buttons  
on my mainmovie (level 0) are still active.  
So when I slide my mouse on my loaded movie (level 1),  
It’s like there are buttons but they are from  
my main movie (level 0).

Is there a way to desactivate the buttons  
without unloading my main movie (level 0)?

Thanks!

Sorry for my poor english…  
:-\

---

<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:** [February 19, 2003, 11:26pm UTC](https://forum.kirupa.com/t/load-movie-buttons-under-still-active/13915/2 "2003-02-19T23:26:40Z")

</div>

Here’s something **lostinbeta** taught me:

If your buttons are movieclips then apply a prototype like this to it:

```php
on (release) {
	MovieClip.prototype.enabled = false;
}

```

And if your buttons are button symbols then apply this prototype to it:

```php
on (release) {
	Button.prototype.enabled = false;
}

```

Both of those prototypes above will disable all the buttons on that level once one of them is pressed. Good luck. =)

---

<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:** [February 19, 2003, 11:32pm UTC](https://forum.kirupa.com/t/load-movie-buttons-under-still-active/13915/3 "2003-02-19T23:32:09Z")

</div>

Hey ElectronGeek,

Thanks for your answer!

This will only make one button inactive…  
the one with the script.  
But if I have 10 buttons on my level0 movie?

Your Website rocks!

Neuhaus3000

---

<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:** [February 19, 2003, 11:42pm UTC](https://forum.kirupa.com/t/load-movie-buttons-under-still-active/13915/4 "2003-02-19T23:42:01Z")

</div>

It should disable all the buttons on the same level. I used it on something similar that I’m working on right now and it works.

Thanks for your comments. =)

---

<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:** [February 20, 2003, 2:02am UTC](https://forum.kirupa.com/t/load-movie-buttons-under-still-active/13915/5 "2003-02-20T02:02:05Z")

</div>

Hey ElectronGeek,

It works … but it also disables the buttons on my level1 movie (the movie loaded).

You know what could be the problem ?

Thanks again !!! =)

Neuhaus3000

---

<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:** [February 20, 2003, 3:03am UTC](https://forum.kirupa.com/t/load-movie-buttons-under-still-active/13915/6 "2003-02-20T03:03:42Z")

</div>

Is the loaded movie loaded into level0 as well?

---

<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:** [February 20, 2003, 12:54pm UTC](https://forum.kirupa.com/t/load-movie-buttons-under-still-active/13915/7 "2003-02-20T12:54:07Z")

</div>

Hi again,

I have a main movie on level 0  
that loads a movie on level 1.  
The button is on the level 1 movie  
and loads a movie on level 2.

So I added your script on a  
button of the level 1 movie  
(to load the movie on level 2). :crazy:

When I added the script, all  
my buttons on every level  
were disabled (level 0, 1 and 2).

I’ve tried adding \_level1 before  
the path to disable only the buttons  
on level 1 but no results…

Hummmm… I wonder :-\

Neuhaus3000
