# `class Main`

Available on all platforms

## Class Fields

### `static var _this:Main`

### `static var minimum_major:Int`

minimum flash player major version required for wm3d. Value for current wm3d version is 11. (wm3d requires version >= 11.0)

### `static var minimum_minor:Int`

minimum flash player minor version required for wm3d. Value for current wm3d version is 0. (wm3d requires version >= 11.0)

### `static function checkVersion(version_major:Int, version_minor:Int):Bool`

check whether flash player version is equal or newer than given version: `version_major`.`version_minor`.

### `static function checkVersionRightClick():Bool`

check if version >= 11.2

### `static function checkVersionWorker():Bool`

check if version >= 11.4

## Instance Fields

### `var wm:Watermelon`