# Disable button on another level

**URL:** <https://forum.kirupa.com/t/disable-button-on-another-level/158590>\
**Category:** Uncategorized\
**Created:** [August 10, 2005, 5:08pm UTC](https://forum.kirupa.com/t/disable-button-on-another-level/158590 "2005-08-10T17:08:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JayFranchize](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@JayFranchize](https://forum.kirupa.com/u/JayFranchize)\
**Post date:** [August 10, 2005, 5:08pm UTC](https://forum.kirupa.com/t/disable-button-on-another-level/158590/1 "2005-08-10T17:08:37Z")

</div>

My main movie is on level 0, of course. On level 0 I created an empty movie clip named “container”. Now, I load another movie into container, and I loaded it on Level 1. Now, I want to put a code inside a Movie Clip that is on level 1, which is the new, loaded movie that will disable a red button on level1. Here’s the code I used:

\_level1.redbutton.enabled= false;

That didn’t work, so I went this route:

\_root.redbutton.enabled=false;

That worked to no avail as well. So, I’m wondering if the code that disables and enables buttons only work with a handler? Like an onClipEvent or on (release) handler? I’m puzzled right now, because this is really elementary but i just don’t know it right now…any aid will be appreciated…keep flashing
