Loading in levels

hi guys!

im just wondering, if you load something on level 10 for example on top of your base movie, is there anyway you can make the base movie inactive?

So in other words you cant touch anything in the base movie untill the loaded movie on the level is closed?

thanks =)

MovieClip.prototype.enableButton = function() {
	for (var name in this) {
		if (this[name] instanceof MovieClip) {
			this[name].enableButton(arguments[0]);
		} else if (this[name] instanceof Button) {
			this[name].enabled = arguments[0];
		}
	}
};

On your button that loads the movie into level 10:

_level0.enableButton(false);

And when you want to enable the buttons again:

_level0.enableButton(true);

(thx Kax, i learned that from you ;))

yeah thanks makes a lot of sense!!! (sarcastic)

thanks claudio, ill give it a go, but i kow i will get stuck!

can u help us out later?

got it working some how!

u legend!

welcome :wink: