So I searched around all over the internet and VERY few flash sites are XHTML valid.
I’ve generated the following code with thanks to Kirupa’s flash object generator as well for an XHTML VALID flash page.
Enjoy ( fully commented on what you need to change )
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>****PUT YOUR PAGE TITLE HERE****</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
body,html
{
margin:0px;
padding:0px;
height:100%;
}
-->
</style>
</head>
<body>
<!-- REPLACE FOLLOWING USING http://www.kirupa.com/developer/flash8/flash_fix.htm TO GENERATE CODE AS WELL AS DOWNLOAD THE FLASH OBJECT JAVASCRIPT FILE FROM THAT PAGE -->
<script type="text/javascript" src="flashobject.js"></script>
<div id="flashcontent" style="width: 100%; height: 100%"></div>
<script type="text/javascript">
var fo = new FlashObject("finalIndex.swf", "animationName", "100%", "100%", "8", "#F1F1F1");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>
</body>
</html>