# AS2: \[help\] swf enabling/disabling buttons problem

**URL:** <https://forum.kirupa.com/t/as2-help-swf-enabling-disabling-buttons-problem/242182>\
**Category:** flash\
**Created:** [October 23, 2007, 10:39am UTC](https://forum.kirupa.com/t/as2-help-swf-enabling-disabling-buttons-problem/242182 "2007-10-23T10:39:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasiliki](https://avatars.discourse-cdn.com/v4/letter/v/13edae/32.png) [@vasiliki](https://forum.kirupa.com/u/vasiliki)\
**Post date:** [October 23, 2007, 10:39am UTC](https://forum.kirupa.com/t/as2-help-swf-enabling-disabling-buttons-problem/242182/1 "2007-10-23T10:39:36Z")

</div>

hi there, I am making a flash site that has the following structure:  
main swf load’s in empty mc an external swf (submenu) and each swf load’s in empty mc (subsubmenu) other swf.

now in each sub\_swf (second swf) when button is clicked I disable some buttons:  
on (release) {  
loadMovie(“books\_1.swf”,empty)  
this.bt\_2.enabled = false;  
}  
Now when the book\_1.swf, (the sub\_sub\_swf) closes I need to enable the bt\_2. This can be done by adding to the third swf’s closing button the following code:  
on (release) {  
\_level0.bt\_2.enabled = true;  
this.unloadMovie(this);  
}

This runs perfectly locally. When I upload all the swf’s the buttons from the second swf aren’t enabled…  
Is there a solution for this? Did I make sense at all?  
Thanx  
miss\_arez
