I am using v8.2p_2012-05-08
The Flashlet.flashAvailable() code in PluginBridges.js seems to test for a limited range of Flash versions using VBScript:
I found this code was returning false when using IE8 on XP SP3 with Flash 11.4.
I tried changing the upper limit to 11, but that didn't appear to work, either.
I then replaced that whole section of code with:
and this seemed more reliable. Any comments?
The Flashlet.flashAvailable() code in PluginBridges.js seems to test for a limited range of Flash versions using VBScript:
Code:
For i = 2 to 9
If Not(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & i))...
I tried changing the upper limit to 11, but that didn't appear to work, either.
I then replaced that whole section of code with:
Code:
if(isc.Browser.isIE){
var isInstalled = false;
var version = isc.Flashlet.flashVersion;
if (window.ActiveXObject) {
var control = null;
try {
control = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');
} catch (e) {
}
if (control) {
isInstalled = true;
version = control.GetVariable('$version').substring(4);
version = version.split(',');
version = parseFloat(version[0] + '.' + version[1]);
}
}
isc.Flashlet.flashSupported = isInstalled;
isc.Flashlet.flashVersion = version;
// end if IE
} else ...
Comment