# Problems with enabled method called from external swf

**URL:** <https://forum.kirupa.com/t/problems-with-enabled-method-called-from-external-swf/199631>\
**Category:** Uncategorized\
**Created:** [September 4, 2006, 8:16pm UTC](https://forum.kirupa.com/t/problems-with-enabled-method-called-from-external-swf/199631 "2006-09-04T20:16:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwidauer](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@cwidauer](https://forum.kirupa.com/u/cwidauer)\
**Post date:** [September 4, 2006, 8:16pm UTC](https://forum.kirupa.com/t/problems-with-enabled-method-called-from-external-swf/199631/1 "2006-09-04T20:16:17Z")

</div>

hello

I am working on a flash site consisting out of a main flash file in which external flash movies are loaded. Since it is a sliding menu srtucture I disable all first level nav-buttons during sliding by a function like this:

\*function disableAllButtons(){  
for (i=0;i\<5;i++) {  
\_root.mainMovie[“mainNav”+i].btn.enabled = false;  
//trace(\_root.mainMovie[“mainNav”+i].\_y);  
}  
}

\*The btn instances are movie clips. The disabling works fine for the main movie. My problem occurs that when I want to activate a first level nav button inside an external swf by clicking on another button. Checked with trace that the function \*disableAllButtons() \*indead is called but the button movie clips remain clickable.

Any hints what the problem could be? I tried for hours becoming completely blocked here.:d: thanks in advance for help.

bye  
chris
