# Problem with buttons in external swf

**URL:** <https://forum.kirupa.com/t/problem-with-buttons-in-external-swf/203843>\
**Category:** flash\
**Created:** [October 14, 2006, 8:08pm UTC](https://forum.kirupa.com/t/problem-with-buttons-in-external-swf/203843 "2006-10-14T20:08:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommsund](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@tommsund](https://forum.kirupa.com/u/tommsund)\
**Post date:** [October 14, 2006, 8:08pm UTC](https://forum.kirupa.com/t/problem-with-buttons-in-external-swf/203843/1 "2006-10-14T20:08:08Z")

</div>

Hi,

I had tried to disable some button in external.swf which I loaded into the movieclip (mc\_content) in the main.swf. The instance name of button in external movie is btn\_1.

\_root.mc\_content.loadMovie(“external.swf”);  
this works perfectly - it’s open that external.swf in main movie.

I have also a disable button (btn\_disable) in main movie.

Code of btn\_disable;

on (release) {  
\_root.mc\_content.btn\_1.enabled = false;  
}

This shoud disable this btn\_1 button, but…

I’ve also made button (btn\_2) in main movie and use code:

on (release) {  
\_root.btn\_2.enabled = false;  
}

… and this works fine.

I had check all instance names and code rows, but i don’t found any errors. If you can help me with this problem, I would be very pleased. 🙂

thanks in advance,

Tommi
