Get Adobe Flash player

程式碼

<div id="iflash" style="position:relative;"><img src="images/iflash.jpg" width="550" height="400" /><!--若讀取不到flash的替代圖片--><a style="position:absolute; top:10px; left:5px;" 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>

<script type="text/javascript">
  var flashvars = {};
  var params = {};
    params.menu="false";
    params.wmode="transparent";
    params.bgcolor="#CCCCCC";
    params.allowfullscreen="true";
	params.allowscriptaccess="always";
  var attributes = {};
    attributes.id="iflash";
    attributes.name="iflash";
  swfobject.embedSWF("iflash.swf", "iflash", "550", "400", "10.0.2", "false", flashvars, params, attributes);
</script>