<div id="flashContent">
<h1>You need at least Flash Player 9.0 to view this page.</h1>
<p><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></p>
</div>
<script type="text/javascript">
//Dynamic publishing with swfObject
//A 'name' attribute with the same value as the 'id' is REQUIRED for Chrome/Mozilla browsers
var flashvars = {};
var params = {"base": "../flashgame_new/"};
var attributes = {id: "iTag", name: "iTag"};
swfobject.embedSWF("flashgame.swf", "flashgame", "720", "610", "9.0", null, flashvars, params, attributes);
</script>
- html 文件位于根目录中。
- 它正在尝试在“/iTag_FLASH_new/”中加载“iTag.swf”
- 我尝试在 swfURL 参数中输入路径 - embedSWF("/iTag_FLASH_new/iTag.swf" - 这不起作用,文件不加载
- 一些谷歌搜索告诉我这是因为我必须通过如上所述更改基本路径来指定路径 - 这也不起作用,文件仍然无法加载。
我可能只是因为累了而犯了一个非常愚蠢的错误,但是有人有什么建议吗?干杯。