My client can’t store the .swf file on the same server as the referencing html file.
I tried using an absolute URL in the html to load the .swf file from a different server, but it doesn’t seem to be working, (just a blank page, no errors or anything).
I’m using swfobject 2 generator to generate the html page. Works fine if both swf and html are in the same directory, doesn’t work when they’re not.
Any suggestions?
Thanks!
PS - Here’s the html code snippet produced by swfobject generator.
<body>
<script type=“text/javascript” src=“swfobject.js”></script>
<script type=“text/javascript”>
var flashvars = {};
var params = {};
var attributes = {};
attributes.id = “myFlashContent”;
swfobject.embedSWF(“HauntedPropsGhostBust.swf”, “myAlternativeContent”, “720”, “520”, “9.0.0”, “http://www.nightfrights.net/hauntedpropscom/expressInstall.swf”, flashvars, params, attributes);
</script>
<div id="myAlternativeContent" align="center">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</div>
</body>