THis is my goal:
Have web page check for Flash 6.
If browswer has Flash 6 Then show flash movie
ELSE show image.
I don't want anything else to happen.
This is what I have so far, which works except of the checking of Flash 6.
Can someone point me in the right direction/show me how
to replace the (true) with the code to check for Flash 6?
THANKS IN ADVANCE
I have been looking/searching and can't seem to find the correct answer.
<SCRIPT LANGUAGE="JavaScript">
if (true) {
document.write(' <img src="" width="1" height="1">');
document.write('<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,29,0" width="450" height="237">');
document.write(' <param name="movie" value="principals.swf">');
document.write(' <param name="quality" value="high">');
document.write(' <embed src="principals.swf" quality="high" pluginspage="http:\/\/ type="application\/x-shockwave-flash" width="450" height="237"><\/embed>');
document.write('<\/object>');
}
else {
document.write('<img src="6principles.gif" width="450" height="237">');
};
</SCRIPT>
Have web page check for Flash 6.
If browswer has Flash 6 Then show flash movie
ELSE show image.
I don't want anything else to happen.
This is what I have so far, which works except of the checking of Flash 6.
Can someone point me in the right direction/show me how
to replace the (true) with the code to check for Flash 6?
THANKS IN ADVANCE
I have been looking/searching and can't seem to find the correct answer.
<SCRIPT LANGUAGE="JavaScript">
if (true) {
document.write(' <img src="" width="1" height="1">');
document.write('<object classid="clsid
document.write(' <param name="movie" value="principals.swf">');
document.write(' <param name="quality" value="high">');
document.write(' <embed src="principals.swf" quality="high" pluginspage="http:\/\/ type="application\/x-shockwave-flash" width="450" height="237"><\/embed>');
document.write('<\/object>');
}
else {
document.write('<img src="6principles.gif" width="450" height="237">');
};
</SCRIPT>