Return to Snippet

Revision: 4597
at January 13, 2008 12:02 by imhugo


Initial Code
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Set Title</title>

<link href="css/flash_style.css" rel="stylesheet" type="text/css">

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

</head>

<body>
<center>

	<div id="content">(install flash player)</div>
	
	<script type="text/javascript">
		// <![CDATA[
	
		var mySWFObject = new SWFObject("flash/index.swf", "flashID", "950px", "600px", "8", "#CCCCCC");
		
		mySWFObject.addParam("scale", "noscale");
		mySWFObject.addParam("menu", "false");
		mySWFObject.addParam("quality", "high");
		mySWFObject.addParam("base", ".");
				
		mySWFObject.write("content");

		// ]]>
	</script>
	
</center>
</body>
</html>

Initial URL
httP://blog.deconcept.com/swfobject/

Initial Description
Put swf files in html using swfObject

Initial Title
Using swfObject

Initial Tags


Initial Language
HTML