swfdetect.js revision ec749fdeacb8e11cb7a9dd6dcebd1538b953059e
/**
* Utility for Flash version detection
* @module swfdetect
*/
// Shortcuts and helper methods
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) {}
}
}
/** Create a calendar view to represent a single or multiple
* month range of dates, rendered as a grid with date and
* weekday labels.
*
* @class SWFDetect
* @constructor
*/
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;
}
};