Code
<html>
<head>
<meta>
<title>test</title>
<script></script>
<style>
<body>
</style>
</head>
<body>
<div id="imagevue">
test
</div>
<script>
var so = new SWFObject("main/imagevue.swf", "imagevue", "900", "550", "6", "#FFFFFF");
so.addVariable("backimage", "false");
so.addVariable("textcol", "EFEFEF");
so.addVariable("globalpath", "main/");
so.addVariable("configfile", "main/templates/carbon/config.ini");
so.write("imagevue");
</script>
</body>
</html>What am I doing wrong? If I take out all references of "main" in the html file and put it in that actual folder, everything loads up fine without any issues. It's only when I try to link to it from a different directory that the problems arise.
Edit: I don't know why the <script> tags got closed at the top, but this is the data it contained:
type="text/javascript" src="main/javascript/swfobject_source.js"