# Loading external swfs with buttons (that are not on your main timeline)

**URL:** <https://forum.kirupa.com/t/loading-external-swfs-with-buttons-that-are-not-on-your-main-timeline/267988>\
**Category:** Uncategorized\
**Created:** [August 7, 2008, 9:14pm UTC](https://forum.kirupa.com/t/loading-external-swfs-with-buttons-that-are-not-on-your-main-timeline/267988 "2008-08-07T21:14:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pleri7](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@pleri7](https://forum.kirupa.com/u/pleri7)\
**Post date:** [August 7, 2008, 9:14pm UTC](https://forum.kirupa.com/t/loading-external-swfs-with-buttons-that-are-not-on-your-main-timeline/267988/1 "2008-08-07T21:14:14Z")

</div>

I found my problem. I just don’t know how to target it. I’m trying to load an external swf, when releasing a button. The problem is the button is not on the main timeline, but instead nested in a movie clip. I just don’t know how to target that button. I tried loading the swf with a button on my main timeline and it worked, so I know the problem is not with the movie clip loader class or the actual swf itself. I actually learned this from a note midway down the page in one of your tutorials… [http://www.kirupa.com/developer/mx2004/transitions2.htm](http://www.kirupa.com/developer/mx2004/transitions2.htm)  
how can i target that button that is nested in that movie clip?

here’s my actionscript btw

var myMCL:MovieClipLoader = new MovieClipLoader();

loader.addListener(this);

artbar\_mc.artBtn\_1.onRelease = function() {  
myMCL.loadClip(“art\_1.swf”, “container\_mc”);  
};  
any help is much appreciated!
