Load Movie. Buttons under still active!

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…
:-\

Here’s something lostinbeta taught me:

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

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

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

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. =)

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

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. =)

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

Is the loaded movie loaded into level0 as well?

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