2

在过去的几天里,我一直在为此绞尽脑汁,但我一无所获。我已经检查了所有可能的答案,但仍然没有解决方案。

这是我的问题:

我的网站是这样布局的:在“root”中,我有“index.htm”和根目录下的其他文件夹,其中一个是“pages”,它有eyes.htm。

我的“swf”文件位于根目录下的“media”文件夹中。

  • 根(文件夹)-> index.htm
  • 页面(文件夹)-> eye.htm
  • 媒体(文件夹)--> shb_ticker.swf
  • 脚本(文件夹)
  • css(文件夹)

在 index.htm 中,我在 div 中有一个 flash 对象,如下所示。


 <param name="movie" value="media/shb_ticker.swf" />
 <param name="quality" value="high" />
 <param name="wmode" value="opaque" />
 <param name="swfversion" value="7.0.70.0" />
 <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
 <param name="expressinstall" value="scripts/expressInstall.swf" />
 <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
 <!--[if !IE]>-->
 <object type="application/x-shockwave-flash" data="media/shb_ticker.swf" width="970" height="28">
   <!--<![endif]-->
   <param name="quality" value="high" />
   <param name="wmode" value="opaque" />
   <param name="swfversion" value="7.0.70.0" />
   <param name="expressinstall" value="scripts/expressInstall.swf" />
   <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
   <div>
     <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
     <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" width="112" height="33" /></a></p>
   </div>
   <!--[if !IE]>-->
 </object>
 <!--<![endif]-->

这在 index.htm 中运行良好。

当我在eyes.htm(下面的片段)中复制和修改子文件夹'pages'中的代码时,我什么也没得到!


 <param name="movie" value="**../media/shb_ticker.swf**" />
 <param name="quality" value="high" />
 <param name="wmode" value="opaque" />
 <param name="swfversion" value="7.0.70.0" />
 <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
 <param name="expressinstall" value="../scripts/expressInstall.swf" />
 <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
 <!--[if !IE]>-->
 <object type="application/x-shockwave-flash" data="**../media/shb_ticker.swf**" width="970" height="28">
   <!--<![endif]-->
   <param name="quality" value="high" />
   <param name="wmode" value="opaque" />
   <param name="swfversion" value="7.0.70.0" />
   <param name="expressinstall" value="../scripts/expressInstall.swf" />
   <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
   <div>
     <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
     <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" width="112" height="33" /></a></p>
   </div>
   <!--[if !IE]>-->
 </object>
 <!--<![endif]-->

我浏览了互联网,使用 html 文件的路径而不是 swf 等谈论相对路径、绝对路径和闪存,所有这些我都不明白。

提前感谢您的任何帮助。问候

桑杰

4

1 回答 1

0

我找到了答案——问题在于我用来创建 swf 文件的软件。我已经对其进行了排序,现在它工作正常。

道歉。

桑杰

于 2013-01-02T14:16:08.437 回答