I am so stuck with this I have a full flash site and a HTML5 site (made in Hype) All I want is the index file to detect if Flash is installed, if yes go to the flashsite and if not, then it should, load the html website. Here is my index file. Where do I put the redirect code? Thanks in advance.
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table style="width:766px;height:750px" align="center">
<tr>
<td>
<object classid="00000000000000000000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="766" height="750">
<param name="movie" value="flash/main_v7.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="flash/main_v7.swf"
width="766" height="750" type="application/xshockwave-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>
</td>
</tr>
</table>
</body>
</html>`