# External swf menu

**URL:** <https://forum.kirupa.com/t/external-swf-menu/242896>\
**Category:** flash\
**Created:** [October 31, 2007, 2:01pm UTC](https://forum.kirupa.com/t/external-swf-menu/242896 "2007-10-31T14:01:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Booger](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@Booger](https://forum.kirupa.com/u/Booger)\
**Post date:** [October 31, 2007, 2:01pm UTC](https://forum.kirupa.com/t/external-swf-menu/242896/1 "2007-10-31T14:01:26Z")

</div>

I am sure it is possible to have two seperate swfs residing on the one html page to perform the following. One swf is a Main page (twoMatesContainer.swf), which has an empty mc holder on it, called holder\_mc the other swf is my navigation swf with multiple buttons on it, to load in different swfs into the twoMatesContainer.swf, holder\_mc.

On the navigation swf I have the following code, which I have used before succesfully but not on an external navigation swf, it always resided in the Main swf to load external swfs into an empty mc holder.

Currently the swfs reside on my local HDD in my site folder and then in a folder called “folder” (original I know)  
I am sure I am just not getting the paths right, but then again ! Here is what I have tried:-

//Welcome btn  
//create the event for the button  
menu\_mc.story\_btn.onRelease = function() {  
folder.twoMatesContainer.swf.holder\_mc.loadMovie(" folder.twoMatesHome1.swf");  
};

ALSO TRIED

//Welcome btn  
//create the event for the button  
menu\_mc.story\_btn.onRelease = function() {  
loadMovie(“twoMatesHome1.swf”, “folder.twoMatesContainer.swf.holder\_mc”);  
};

AND ALSO

//Welcome btn  
//create the event for the button  
menu\_mc.story\_btn.onRelease = function() {  
loadMovie("…/folder.twoMatesHome1.swf", “…/folder.twoMatesContainer.swf.holder\_mc”);  
}
