# Loading in levels

**URL:** <https://forum.kirupa.com/t/loading-in-levels/29375>\
**Category:** Uncategorized\
**Created:** [August 26, 2003, 3:26am UTC](https://forum.kirupa.com/t/loading-in-levels/29375 "2003-08-26T03:26:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://forum.kirupa.com/u/Dave)\
**Post date:** [August 26, 2003, 3:26am UTC](https://forum.kirupa.com/t/loading-in-levels/29375/1 "2003-08-26T03:26:13Z")

</div>

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

---

<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:** [August 26, 2003, 3:38am UTC](https://forum.kirupa.com/t/loading-in-levels/29375/2 "2003-08-26T03:38:19Z")

</div>

```auto
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:

```auto
_level0.enableButton(false);

```

And when you want to enable the buttons again:

```auto
_level0.enableButton(true);

```

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

---

<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:** [August 26, 2003, 5:01am UTC](https://forum.kirupa.com/t/loading-in-levels/29375/3 "2003-08-26T05:01:43Z")

</div>

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?

---

<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:** [August 26, 2003, 6:02am UTC](https://forum.kirupa.com/t/loading-in-levels/29375/4 "2003-08-26T06:02:35Z")

</div>

got it working some how!

u legend!

---

<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:** [August 26, 2003, 1:55pm UTC](https://forum.kirupa.com/t/loading-in-levels/29375/5 "2003-08-26T13:55:04Z")

</div>

welcome 😉
