# Making a movie clip load external .swf (HELP)

**URL:** <https://forum.kirupa.com/t/making-a-movie-clip-load-external-swf-help/230756>\
**Category:** flash\
**Created:** [June 28, 2007, 6:52pm UTC](https://forum.kirupa.com/t/making-a-movie-clip-load-external-swf-help/230756 "2007-06-28T18:52:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wisdomiskey](https://avatars.discourse-cdn.com/v4/letter/w/8e7dd6/32.png) [@wisdomiskey](https://forum.kirupa.com/u/wisdomiskey)\
**Post date:** [June 28, 2007, 6:52pm UTC](https://forum.kirupa.com/t/making-a-movie-clip-load-external-swf-help/230756/1 "2007-06-28T18:52:35Z")

</div>

So I built a website which has movie clips for buttons and inside the movie clip is an invisible button so i can have my (rollover) events. Now i know how to call \_parent and get frames from my main scene…but im looking to have a preloader load external .swf as done in this example… [http://www.kirupa.com/developer/mx/preloader\_transition.htm](http://www.kirupa.com/developer/mx/preloader_transition.htm)  
The difference is they use normal buttons in the example and i cant figure out what code is needed to call from my invisible button inside the movie clip…heres the actual code on my button inside the movie clip.

buying\_btn.onRelease = function() {  
if (\_root.section != “gallery.swf”) {  
\_root.section = “gallery.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};

How would I make this work…Would i add a button handler to my code?..how do i do it?

any help would be greatly appreciated
