2

私はここ数日間、これについて頭を悩ませてきましたが、どこにも行きません. 考えられるすべての回答を確認しましたが、まだ解決策がありません。

これが私の問題です:

私のサイトは次のようにレイアウトされています。「ルート」には「index.htm」と、ルートの下にある他のフォルダーがあり、そのうちの 1 つは eyes.htm を持つ「ページ」です。

私の「swf」ファイルは、ルートにもあるフォルダー「media」にあります。

  • ルート (フォルダー) --> index.htm
  • ページ (フォルダー) --> eyes.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]-->

私はインターネットを調べましたが、swf などではなく、html ファイルのパスを使用した相対パス、絶対パス、およびフラッシュについての話がありましたが、それらはすべて理解できませんでした。

ご協力いただきありがとうございます。よろしく

サンジェイ

4

1 に答える 1

0

私は答えを見つけました.swfファイルを作成するために使用していたソフトウェアが問題でした。私はそれをソートしましたが、今はうまく機能しています。

申し訳ありません。

サンジェイ

于 2013-01-02T14:16:08.437 に答える