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…
:-\
system
February 19, 2003, 11:26pm
2
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. =)
system
February 19, 2003, 11:32pm
3
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
system
February 19, 2003, 11:42pm
4
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. =)
system
February 20, 2003, 2:02am
5
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
system
February 20, 2003, 3:03am
6
Is the loaded movie loaded into level0 as well?
system
February 20, 2003, 12:54pm
7
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