swfdetect.js revision 6a3b0b33a4f747b96bbc28cf9554e06d0c5a1d32
/**
* Utility for Flash version detection
* @module swfdetect
*/
// shortcuts
var version = 0,
sF = "ShockwaveFlash",
function makeInt(n) {
return parseInt(n, 10);
}
function parseFlashVersion (flashVer) {
}
}
}
}
}
}
}
try
{
}
catch (e)
{
if(ax6 !== null)
{
version = 6.0;
}
}
if (version === 0) {
try
{
} catch (e2) {}
}
}
Y.SWFDetect = {
/**
* or the Flash Player ActiveX control (in IE), as a String of the form "MM.mm.rr", where
* MM is the major version, mm is the minor version, and rr is the revision.
* @method getFlashVersion
*/
getFlashVersion : function () {
},
/**
* Checks whether the version of the Flash player installed on the user's machine is greater
* than or equal to the one specified. If it is, this method returns true; it is false otherwise.
* @method isFlashVersionAtLeast
* @return {Boolean} Whether the Flash player version is greater than or equal to the one specified.
* @param flashMajor {int} The Major version of the Flash player to compare against.
* @param flashMinor {int} The Minor version of the Flash player to compare against.
* @param flashRev {int} The Revision version of the Flash player to compare against.
*/
if (flashMajor === uaMajor) {
if (flashMinor === uaMinor) {
}
return flashMinor < uaMinor;
}
return flashMajor < uaMajor;
}
};