# HELP: Disabling Button AS not working

**URL:** <https://forum.kirupa.com/t/help-disabling-button-as-not-working/123492>\
**Category:** Uncategorized\
**Created:** [September 24, 2004, 5:30am UTC](https://forum.kirupa.com/t/help-disabling-button-as-not-working/123492 "2004-09-24T05:30:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BUroKHUli](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/burokhuli/32/190_2.png) [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Post date:** [September 24, 2004, 5:30am UTC](https://forum.kirupa.com/t/help-disabling-button-as-not-working/123492/1 "2004-09-24T05:30:53Z")

</div>

Hello again,

I have 4 buttons on a timeline, and each loads different external SWFs. I want that when I clicked on 1 button, let’s say the “button1”, it will load the MOVIE and the button will be disable until I have clicked on another button. I tried this script below but didn’t get any RESULT.

on (release) {  
if (expand == 0) {  
gotoAndPlay(“AA”);  
\_parent.pointerMC.gotoAndPlay(“BB”);  
} else {  
gotoAndStop(currentFrame);  
}  
\_parent.containerMC.loadMovie(“movieMC.swf”);  
expand = 1;  
\_parent.button1.enabled = false;  
\_parent.button2.enabled = true;  
\_parent.button3.enabled = true;  
\_parent.button4.enabled = true;  
}
