2011-10-19 3 views
0

"플래시 아웃 페이드 아웃 슬라이드 쇼"플래시 구성 요소를 다운로드했으며 이미지를 포함 시켰습니다. 내가 드루팔에 포함하는 방법을 모른다 의 index.html 페이지 내가 플래시 구성 요소 "페이드 아웃 슬라이드 쇼에서 페이드"를 다운로드 .and 뮤 이미지를 포함했다은 drupal에 플래시를 포함 할 수 없습니다. 플래시가 나타나지 않습니다.

<html xmlns="http`enter code here`://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
<head> 
<title>XML Banner Rotator</title> 
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    </head> 
<body> 

     <script type="text/javascript" src="js/swfobject.js"></script> 

     <script type="text/javascript"> 

      // JAVASCRIPT VARS 
      // cache buster 
      var cacheBuster = "?t=" + Date.parse(new Date()); 
      // stage dimensions  
      var stageW = "560";//"100%"; 
      var stageH = "374";//"100%"; 


      // ATTRIBUTES 
      var attributes = {}; 
      attributes.id = 'FlabellComponent'; 
      attributes.name = 'FlabellComponent'; 

      // PARAMS 
      var params = {}; 
      params.bgcolor = "#ffffff"; 
      params.menu = "false"; 
      params.scale = 'noScale'; 
      params.wmode = "opaque"; 
      params.allowfullscreen = "true"; 
      params.allowScriptAccess = "always";    


      /* FLASH VARS */ 
      var flashvars = {}; 

      /// if commented/delete these lines, the component will take the stage dimensions defined 
      /// above in "JAVASCRIPT SECTIONS" section or those defined in the settings xml 
      flashvars.componentWidth = stageW; 
      flashvars.componentHeight = stageH; 

      /// path to the content folder(where the xml files, images or video are nested) 
      /// if you want to use absolute paths(like "http://domain.com/images/....") then leave it empty("")   
      flashvars.pathToFiles = "banner/"; 

      // path to content XML 
      flashvars.xmlPath = "xml/banner.xml"; 


      /** EMBED THE SWF**/ 
      swfobject.embedSWF("preview.swf"+cacheBuster, attributes.id, stageW, stageH, "9.0.124", "js/expressInstall.swf", flashvars, params, attributes); 

     </script> 

     <table width="100%" height="100%" cellpadding="0" cellspacing="0"> 
      <td align="center"> 

       <!-- this div will be overwritten by SWF object -->  
       <div id="FlabellComponent"> 
        <p>In order to view this object you need Flash Player 9+ support!</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> 
       </div> 

      </td> 
     </table>   

    </body> 

</html> 

입니다 하란은하지 않습니다에 드루팔 (drupal)에 포함시키는 법을 알아야합니다. 어떤 아이디어?

나는 아래의 코드를 사용하여 preview.swf를 삽입하려고 시도했지만 플래시 이미지는 표시되지 않습니다.

<div id="swfhead"> 
<object height="205" width="950"> 
<param value="preview.swf" name="movie"> 
<embed height="205" width="950" src="preview.swf"> 
</object> 
</div> 

답변

관련 문제