Packagesekati.validators
Classpublic class FlashValidator

FlashValidator provides introspective validation of playback type, version & mode.



Public Properties
 PropertyDefined by
  hasFullscreenMode : Boolean
[static][read-only] Returns true if the client flashplayer supports fullscreen mode (>=9.0.28).
FlashValidator
  isAir : Boolean
[static][read-only] Returns true is the swf is an Air Runtime Applications.
FlashValidator
  isBrowser : Boolean
[static][read-only] Returns true is the swf is being viewed in a browser.
FlashValidator
  isDebugger : Boolean
[static][read-only] Returns true is the swf is being viewed in the debug player.
FlashValidator
  isExternal : Boolean
[static][read-only] Returns true is the swf is being viewed by the external player or in test mode.
FlashValidator
  isPreview : Boolean
[static][read-only] Returns true is the swf is being previewed by the external debug player.
FlashValidator
  isStandAlone : Boolean
[static][read-only] Returns true is the swf is being viewed in the standalone player.
FlashValidator
  playerInfo : String
[static][read-only] Returns a player and environment info string.
FlashValidator
Public Methods
 MethodDefined by
  
FlashValidator Static Constructor
FlashValidator
  
isMinVersion(minVersion:Number):Boolean
[static] Returns true if client flashplayer is >= the min version.
FlashValidator
Public Constants
 ConstantDefined by
  AVM_VERSION : String = ""
[static] Retrieve the ActionScript Virtual Machine Version the application is running under.
FlashValidator
  FLASHPLAYER_VERSION : String = ""
[static] Retrieve the FlashPlayer Version the application is running under.
FlashValidator
  LANGUAGE : String = ""
[static] Retrieve the FlashPlayers Localized Language Code.
FlashValidator
Property detail
hasFullscreenModeproperty
hasFullscreenMode:Boolean  [read-only]

Returns true if the client flashplayer supports fullscreen mode (>=9.0.28).

Implementation
    public static function get hasFullscreenMode():Boolean
isAirproperty 
isAir:Boolean  [read-only]

Returns true is the swf is an Air Runtime Applications.

Implementation
    public static function get isAir():Boolean
isBrowserproperty 
isBrowser:Boolean  [read-only]

Returns true is the swf is being viewed in a browser.

Implementation
    public static function get isBrowser():Boolean
isDebuggerproperty 
isDebugger:Boolean  [read-only]

Returns true is the swf is being viewed in the debug player.

Implementation
    public static function get isDebugger():Boolean
isExternalproperty 
isExternal:Boolean  [read-only]

Returns true is the swf is being viewed by the external player or in test mode.

Implementation
    public static function get isExternal():Boolean
isPreviewproperty 
isPreview:Boolean  [read-only]

Returns true is the swf is being previewed by the external debug player.

Implementation
    public static function get isPreview():Boolean
isStandAloneproperty 
isStandAlone:Boolean  [read-only]

Returns true is the swf is being viewed in the standalone player.

Implementation
    public static function get isStandAlone():Boolean
playerInfoproperty 
playerInfo:String  [read-only]

Returns a player and environment info string.

Implementation
    public static function get playerInfo():String
Constructor detail
FlashValidator()constructor
public function FlashValidator()

FlashValidator Static Constructor

Method detail
isMinVersion()method
public static function isMinVersion(minVersion:Number):Boolean

Returns true if client flashplayer is >= the min version.

Parameters
minVersion:Number

Returns
Boolean
Constant detail
AVM_VERSIONconstant
public static const AVM_VERSION:String = ""

Retrieve the ActionScript Virtual Machine Version the application is running under.

FLASHPLAYER_VERSIONconstant 
public static const FLASHPLAYER_VERSION:String = ""

Retrieve the FlashPlayer Version the application is running under.

LANGUAGEconstant 
public static const LANGUAGE:String = ""

Retrieve the FlashPlayers Localized Language Code.

e.g. cs,da,nl,en,fi,fr,de,hu,it,ja,ko,no,xu,pl,pt,ru,zh-CN,es,sv,zh-TW,tr

.