2011-07-06 2 views
0

ie6을 제외한 모든 브라우저에서 플래시가 정상적으로 작동합니다. 페이지를로드하는 중 ie6에서 플래시가 잘 보이지만 일단 페이지가로드되면 플래시가 사라집니다.. 모든 곳을 보았지만 해결책을 찾을 수 없습니다.ie6에서 몇 초 후에 플래시가 꺼집니다.

ie6 다운로드 한 최신 플레이어 WIN 10,3,181,34 버전은 파일이 아래

$(document).ready(function() { 
    swfobject.registerObject("mymovie", "9.0.0", "expressInstall.swf"); 
}); 

을 가지고 자바 스크립트 http://kb2.adobe.com/cps/155/tn_15507.html

에서 발견 App_Code 폴더

@helper SwfObject(string swfName, UrlHelper url) { 
    <object id="mymovie" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="960" height="315" style="background-color: #e6e6e6;" wmode="transparent"> 
     <param name="movie" value="@url.Content("../../Content/flash/" + swfName)" /> 
     <param name="wmode" value="opaque" /> 
     <object type="application/x-shockwave-flash" data="@url.Content("../../Content/flash/" + swfName)" width="960" height="315" style="background-color: #e6e6e6;" wmode="transparent"> 
      <div> 
       <img src="@url.Content("../../Content/gallery/album1/large/1.png")" alt="Image"/> 
       <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> 
     </object> 
    </object> 
} 

답변

1

swfobject.registerObject$(document).ready 기능 또는 유사한 온로드 기능에 싸여해서는 안 등에게의 헬퍼의 코드는 window.onload.

관련 문제