# Disable a \_level

**URL:** <https://forum.kirupa.com/t/disable-a--level/284526>\
**Category:** flash\
**Created:** [March 19, 2009, 10:10pm UTC](https://forum.kirupa.com/t/disable-a--level/284526 "2009-03-19T22:10:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Post date:** [March 19, 2009, 10:10pm UTC](https://forum.kirupa.com/t/disable-a--level/284526/1 "2009-03-19T22:10:36Z")

</div>

Hi There…

There is an **enabled** function…  
Now, when I load in a new level over an existing one, by using **loadMovieNum** , I call

```auto
_level0.enabled = false;

```

One would expect all buttons/rollovers NOT to work anymore … Alas I just can’t get that shiv to work. Does it do that - Or will it only work on individual MC’s? Which brings up the problem that all ‘buried’ buttons are still operative. Ok, so I can call a for loop to disable all of those buttons - but that could get tricky.

So, can an entire \_level be disabled?

tricks/tips = :jamesbond:
