# Need help having a movieclip button call/get a .swf file

**URL:** <https://forum.kirupa.com/t/need-help-having-a-movieclip-button-call-get-a-swf-file/202217>\
**Category:** flash\
**Created:** [September 28, 2006, 8:18pm UTC](https://forum.kirupa.com/t/need-help-having-a-movieclip-button-call-get-a-swf-file/202217 "2006-09-28T20:18:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Salah73](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@Salah73](https://forum.kirupa.com/u/Salah73)\
**Post date:** [September 28, 2006, 8:18pm UTC](https://forum.kirupa.com/t/need-help-having-a-movieclip-button-call-get-a-swf-file/202217/1 "2006-09-28T20:18:50Z")

</div>

Hi all-

I’m making a site and having some trouble here. I have made a moveiclip button and now all I want to be able to do is have it load a .swf file.

I have a master.swf that will call the mainmenu.swf when it loads everything.

So basically the mainmenu will be loaded into the master then work from there. I know this is something so freakin’ easy but I can’t figure out how to get the button to “call” the .swf file.

Here’s the code I have so far that allows for the button to do it’s magic:

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

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

}\*\*

* * *

I have already tried this a.s.::  
**this.button\_mc.onRelease = function(){  
\_root.emptyMC.loadMovie(“services.swf”);  
}**

And it’s still not working. It didn’t get the .swf file

Any help is greatly appreciated as I am totally stuck here.

Thanks in advance.
