Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Test Script. Plz
From: Nikolay Sorokin
Date: Wed, 17 Nov 1999 14:49:38 GMT

Hello flasher

<SCRIPT LANGUAGE="VBScript">
<!--
on error resume next
FlashInstalled = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))

If FlashInstalled = True then
location.href = "ieflash4.html"
Else
location.href = "ienonflash4.html"
End If

//-->
</SCRIPT>

<script language="javascript">
<!--
FlashMode = 0;
if (navigator.appName == "Netscape" && navigator.plugins)
{
numPlugins = navigator.plugins.length;
if (numPlugins > 0)
{

for (k = 0; k < numPlugins; k++)
{
plugin = navigator.plugins[k];
if (plugin.description.indexOf("Flash 4") != -1) {
numTypes = plugin.length;
for (j = 0; j < numTypes; j++)
{
mimetype = plugin[j];

if (mimetype)
{
if (mimetype.enabledPlugin && (mimetype.suffixes.indexOf("swf") != -1))
FlashMode = 1;
// Mac wierdness
if (navigator.mimeTypes["application/x-shockwave-flash"] == null)
FlashMode = 0;
}
}
}
}
}
}
if (FlashMode == 1)
{
location.href = "nnflash4.html";
}
if (FlashMode == 0) {
location.href = "nnnonflash4.html";
}


//-->
</script>



Rgrds,Nikolay Sorokin.
flashatflashmaster [dot] ru




flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]