# \[ASK\] \[AS2\] How to Disable Button in Different SWF?

**URL:** <https://forum.kirupa.com/t/ask-as2-how-to-disable-button-in-different-swf/633240>\
**Category:** flash\
**Created:** [May 26, 2015, 4:31am UTC](https://forum.kirupa.com/t/ask-as2-how-to-disable-button-in-different-swf/633240 "2015-05-26T04:31:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arpib\_Z\_Zaszi](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Arpib\_Z\_Zaszi](https://forum.kirupa.com/u/Arpib_Z_Zaszi)\
**Post date:** [May 26, 2015, 4:31am UTC](https://forum.kirupa.com/t/ask-as2-how-to-disable-button-in-different-swf/633240/1 "2015-05-26T04:31:23Z")

</div>

Hii, i make button profilbtn for loadMovieNum(“profil.swf”,1); and profilbtn.enabled=false;.\<=== This working  
And then in profil.swf i make button close for unloadMovieNum(1); and profilbtn.enabled=true; \<=== This not working.  
Why my profilbtn not enable?, its still disable.  
Anyone help?  
Thanks before, sorry for my bad grammar.
