#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# SWFDetect Class

Defined in: `swfdetect/js/swfdetect.js:63`
Module: swfdetect

month range of dates, rendered as a grid with date and weekday labels.

## Constructor

### `SWFDetect`

()

Defined in `swfdetect/js/swfdetect.js:63`

- Index
- Methods

## Item Index

### Methods

- getFlashVersion
- isFlashVersionAtLeast

## Methods

### `getFlashVersion`

()

Defined in `swfdetect/js/swfdetect.js:74`

Returns the version of either the Flash Player plugin (in Mozilla/WebKit/Opera browsers), 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.

### `isFlashVersionAtLeast`

(

- `flashMajor`
- `flashMinor`
- `flashRev`

)
Boolean

Defined in `swfdetect/js/swfdetect.js:85`

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.

#### Parameters:

- `flashMajor` Int

  The Major version of the Flash player to compare against.

- `flashMinor` Int

  The Minor version of the Flash player to compare against.

- `flashRev` Int

  The Revision version of the Flash player to compare against.

#### Returns:

Boolean: Whether the Flash player version is greater than or equal to the one specified.