프리랜서 웹디자이너 무료폰트 RELATION.CO.KR

RELATION 로고

홈페이지 소스

[AS] 플래시 영역 비활성(소스)

2006.04.27
//스크립트 링크(링크 내용은 하단)
//Flash.js 외부파일로 따로 저장하는 부분
function CreateControl(DivID, CLSID, ObjectID, fWIDTH, fHEIGHT, fURL, AUTOSTART)
{
var d = document.getElementById(DivID);
d.innerHTML =
"<OBJECT codeBase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='" + fWIDTH +"' height='" + fHEIGHT +"' "
+" ObjectID='" + ObjectID + "' classid='" + CLSID + "'>"
+" <PARAM NAME='_cx' VALUE='16536'>"
+" <PARAM NAME='_cy' VALUE='5847'>"
+" <PARAM NAME='FlashVars' VALUE=''>"
+" <PARAM NAME='Movie' VALUE='" + fURL + "'>"
+" <PARAM NAME='Src' VALUE='" + fURL +"'>"
+" <PARAM NAME='wmode' VALUE='transparent'>"
+" <PARAM NAME='WMode' VALUE='Window'>"
+" <PARAM NAME='Play' VALUE='-1'>"
+" <PARAM NAME='Loop' VALUE='-1'>"
+" <PARAM NAME='Quality' VALUE='High'>"
+" <PARAM NAME='SAlign' VALUE=''>"
+" <PARAM NAME='Menu' VALUE='-1'>"
+" <PARAM NAME='Base' VALUE=''>"
+" <PARAM NAME='AllowScriptAccess' VALUE='always'>"
+" <PARAM NAME='Scale' VALUE='ShowAll'>"
+" <PARAM NAME='DeviceFont' VALUE='0'>"
+" <PARAM NAME='EmbedMovie' VALUE='0'>"
+" <PARAM NAME='BGColor' VALUE=''>"
+" <PARAM NAME='SWRemote' VALUE=''>"
+" <PARAM NAME='MovieData' VALUE=''>";
+" <PARAM NAME='SeamlessTabbing' VALUE='1'>"
+" <embed "
+" src='" + fURL +"' quality='high'"
+" pluginspage='http://www.macromedia.com/go/getflashplayer'"
+" type='application/x-shockwave-flash' width='625'"
+" height='221'>"
+" </embed>"
+"</OBJECT>";

}


<script src="../css_js/flash.js" language="jscript"></script>


<div id="top_001">
this text will be replaced by the control
</div>
<script language="JScript">
CreateControl("top_002","clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", "top_ID", "112", "560", "new_imgaes/front_menu.swf", "-1");
</script>

이 포스트 공유하기

글수정  글삭제 전체목록