Html

メモ。ほんとメモです。

SwfObject2を使った場合

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
		<title>サンプル</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<script type="text/javascript" src="common/js/swfobject2.js"></script>
		<script type="text/javascript">
		var flashvars = {
			key:"value"
		};
		var params = { 
			scale:"noscale",
			salign:"T",
			menu:"false"
		};
		var attributes = {
			id:"id",
			name:"name"
		}; 
		swfobject.embedSWF("index1.swf", "flashContent", "450", "500", "9.0.0", "common/js/expressInstall.swf", flashvars, params, attributes );
		</script>
</head>
<body>
	<div id="flashContent">
		<div id="wrapper">
			<a href="http://www.adobe.com/go/getflashplayer">
				<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" border="0" alt="Get Adobe Flash player" />
			</a>
		</div>
	</div>
</body>
</html>

Objectタグ

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
	<title>サンプル</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
	<object 
		classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
		codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
		width="450"
		height="500"
		id="index1"
		align="">
	<param name=movie VALUE="index1.swf">
	<param name=menu VALUE=false>
	<param name=quality VALUE=high>
	<param name=wmode VALUE=window>
	<embed 
		src="index1.swf"
		quality=high
		wmode=window
		width="450"
		height="500"
		name="index1"
		align=""
		type="application/x-shockwave-flash"
		pluginspage="http://www.macromedia.com/go/getflashplayer">
	</embed>
	</object>
</body>
</html>


Comment



Counter: 5694, today: 2, yesterday: 0

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2013-09-24 (火) 14:55:56 (1310d)