View Full Version : If User cannot see flash, redirect to another page

12-14-2010, 03:51 AM
Ok, im stuck. Ive tryed about 10 solutions from Google. None are working.
Ok, I made a site in Flash, and a second site in HTML. I want to automatically redirect people from my flash site (indexhigh.html) to my html site (indexlow.html) if they can't see my flash movie. Here's the flash page URL: http://testnewsite.netau.net/indexhigh.html (http://testnewsite.netau.net/indexhigh.html).

Restrictions: This redirect MUST be done using javascript or without having me to download another swfobject file. Please paste completed code.
Heres my current code:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '940',
'height', '940',
'src', 'Website',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'Website',
'bgcolor', '#ffffff',
'name', 'Website',
'menu', 'true',
'allowFullScreen', 'false',
'movie', 'Website',
'salign', ''
); //end AC code
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="940" height="940" id="Website" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="Website.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="Website.swf" quality="high" bgcolor="#ffffff" width="940" height="940" name="Website" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<table width="889" border="2" cellspacing="0" cellpadding="0">
<td width="91" bgcolor="#FFFFFF">Site created by:</td>
<td width="232"><a href="http://www.christoff.tk"><img src="my_Logo.png" width="197" height="169"></a></td>
<td width="242"><a href="http://www.fcw.comoj.com"><img src="logo3.JPG" width="205" height="62"><br>
Free Charity Websites
<td width="112">And by the</td>
<td width="198"><p><img src="untitled.png" width="77" height="86"><br>
Fort Myers High School <br>
Web Design 2 Students from<br>
1st Period<br>
Team leader: Chris Christoff

12-14-2010, 03:53 AM
Still waiting for reply

Philip M
12-14-2010, 08:56 AM
Ok, im stuck. Ive tryed about 10 solutions from Google. None are working.

Perhaps the fault, dear Brutus, lies not in the stars ..........

Have a look at

It is your responsibility to die() if necessary….. - PHP Manual

12-14-2010, 11:57 AM
not what im looking for....i need something that automatically redirects people if they dont have flash.... also i need either hte final code inserted into the code i pasted above or step by step instructions...im just starteing at web designing.

Philip M
12-14-2010, 01:28 PM
....i need.... also i need .....

As I remarked, "Perhaps the fault, dear Brutus, lies not in the stars .........."

Another perfectly good script is at

Download the plugins.js file and then:-

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

<script type = "text/javascript">
var ind = pluginlist.indexOf("Flash")
if (ind != -1) {
alert ("You have Flash installed");
else {
window.location = "http://www.google.com"; // redirect if Flash not detected


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum