Hello Everyone...
I'm VERY new to JS and trying to learn using a program that creates menus with Flash and JS.
With the below code, my flash menu works when the files are in the same directory as the code, however, I cannot figure out how to make it work when I have the XML,Flash,JS files located in another directory.

Could someone give me idea what I must first look at. I believe I have tried the obvious areas in the code, but they have not worked.

Thanks !





<script type="text/javascript" src="stfmenu.js"></script>


<p><a href="http://www.menu-flash.com" style="display:none;visibility:hidden;">
Flash Menu</a></p>
<script type="text/javascript">
<!--
st_siteroot=""
st_swfpath="menu.swf";
o={}
o.position="static"; o.clear ="both";
o.width ="1"; o.height = "1"; o.left = "1"; o.top = "1";
o.id = "Adin";
if(!window.location.href.indexOf("file:") && st_swfpath.charAt(0)=="/")
o.src = st_siteroot+st_swfpath;
else
o.src = st_swfpath;
o.vars="flashid=Adin&menuId=0&dirPath=&siteRoot=";
document.write(SFMGetFlashHTML(o));
//-->
</script>