i just had a client refuse content in 8, because of their security settings rendering the nice smooth express install i had set up useless.

they got the noscript instead.

so now i'm redoing everything for player 6 (pain the the you know what)....

:(

----- Original Message ----- From: "Martin Baltzer" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Friday, January 06, 2006 3:36 PM
Subject: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?


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


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

Reply via email to