I got this Flash detection script from PPK's site (http://www.xs4all.net/~ppk/js/index..../js/flash.html
Is there any way to rewrite the following Microsoft VBScript code as Miscrosoft JScript code?
on error resume next
If MSDetect = "true" Then
For i = 2 to 6
If Not(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & i))) Then
flashinstalled = 2
flashversion = i
If flashinstalled = 0 Then
flashinstalled = 1
I'd appreciate any suggestions.