Hi,

I'm having a serious detection issue with macromedias own flash
detection code which you all probably know can be auto generated along
with the html file under publish settings in the Flash8 editor or can be
found in their detection kit which contains it as well.

The problem is related to the activeX plugin detection more precisely
inside the VBScript function below. When the shockwave object is created
it asks for the version string: 

swVersion = swControl.GetVariable("$version") 

and if any of the plugins above is installed it crashes with an error
message saying an error happened in Flash player 6.0.xx.ocx. and the
browser window shuts down. No errors with plugins lower or higher than
that.

Has anyone seen this before and knows what to do? Since I'm not the
great VBScript shark I'm pretty stuck here and just detecting the clean
version number is not enough when you need 6.0.65 to use the new auto
install procesdure.

<!-- // Visual basic helper required to detect Flash Player ActiveX
control version information
Function VBGetSwfVer(i)
  on error resume next
  Dim swControl, swVersion
  swVersion = 0
 
  set swControl = CreateObject("ShockwaveFlash.ShockwaveFlash." +
CStr(i))
  
  if (IsObject(swControl)) then
    swVersion = swControl.GetVariable("$version") //Here it crashes 
        
  end If
  VBGetSwfVer = swVersion
End Function


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to