# Need help with Enabling disabled buttons!

**URL:** https://forum.kirupa.com/t/need-help-with-enabling-disabled-buttons/194270
**Category:** Uncategorized
**Created:** [July 21, 2006, 7:06pm UTC](https://forum.kirupa.com/t/need-help-with-enabling-disabled-buttons/194270 "2006-07-21T19:06:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Hyperion274](https://avatars.discourse-cdn.com/v4/letter/h/e0b2c6/32.png) [@Hyperion274](https://forum.kirupa.com/u/Hyperion274)
#### Post date: [July 21, 2006, 7:06pm UTC](https://forum.kirupa.com/t/need-help-with-enabling-disabled-buttons/194270/1 "2006-07-21T19:06:43Z")

</div>

So, here’s the setup:

I have a main .swf with 27 buttons on it. Once a button is clicked I use (in a seperate .as file)

btn\_ButtonName.onRelease = function() {  
btn\_ButtonName.enabled = false;  
loadMovieNum(“NewMovie.swf”, 5);  
}

to open the NewMovie.swf in the 5th level. Everything works fine up till here. Now, on the NewMovie.swf file I have a close button. The scripting I have so far is

on(release) {  
\_root.btn\_ButtonName.enabled = true;  
unloadMovie(this);  
}

This should work, yes? Unfortunately, it does NOT work!! Please help!!

P.S. - I have 27 buttons that I need to disable/enable, I only entered one into my examples to save space.
