This is the usual structure of my flash websites, all you really need is the *.swf file to be embedded somewhere in the page.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="style.css" rel="stylesheet" type="text/css">
<title>Your Flash Website</title>
</head>
<body>
<div align="center" class="websiteFlash" style="padding:10px">
<object classid="clsid:CLASS-ID-GOES-HERE"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="800" height="700">
<param name="movie" value="websiteFlash.swf?button=1">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="websiteFlash.swf?button=1"
width="800" height="700" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object>
</div>
</body>
</html>
EDIT: There is a sticky in this board covering this exact subject. I think you should go check it out!
|