# Loading External SWFs controlled by MovieClip Buttons

**URL:** <https://forum.kirupa.com/t/loading-external-swfs-controlled-by-movieclip-buttons/189651>\
**Category:** Uncategorized\
**Created:** [June 5, 2006, 12:32am UTC](https://forum.kirupa.com/t/loading-external-swfs-controlled-by-movieclip-buttons/189651 "2006-06-05T00:32:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fenomnon64](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@fenomnon64](https://forum.kirupa.com/u/fenomnon64)\
**Post date:** [June 5, 2006, 12:32am UTC](https://forum.kirupa.com/t/loading-external-swfs-controlled-by-movieclip-buttons/189651/1 "2006-06-05T00:32:40Z")

</div>

Wutsup doods,  
Alright this is pretty much the last thing I am going to need help with for my site, so anyways, I basically made movie clip buttons to navigate through my site, has sounds and all…now all i need those buttons to do is to call out a .swf file from a certain directory. I know how to do this with the traditional button, but not with a movie clip button since it requires a function. This is what I have tried and failed with so far:

* * *

// PROFILE SECTION BUTTON //

this.profile\_mc.onRollOver = function(){  
profile\_mc.gotoAndPlay("\_over");  
}

this.profile\_mc.onRollOut = function(){  
profile\_mc.gotoAndPlay("\_out");

this.profile\_mc.onRelease = function() {  
profile\_mc.loadMovie (“profile.swf”,“placeholder\_mc”);  
}

// PROFILE SECTION BUTTON //  
\_:book: \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

The 1st two lines of code work which controls the animation of the button, but the last script is where I am confused. I want to load the external swf “profile.swf” into the “placeholder\_mc”, so yeah that is the problem.:?)
