Packagecommon
Classpublic class CommonUtils
InheritanceCommonUtils Inheritance Object



Public Methods
 MethodDefined By
  
changeFontToGlobalFont(_arg_1:TextField):void
[static]
CommonUtils
  
changeFontToGlobalIfNeeded(_arg_1:TextField):Boolean
[static]
CommonUtils
  
[static]
CommonUtils
  
[static]
CommonUtils
  
[static]
CommonUtils
  
[static]
CommonUtils
  
getUIOptionValue(_arg_1:String):Boolean
[static]
CommonUtils
  
getUIOptionValueNumber(_arg_1:String):Number
[static]
CommonUtils
  
gotoFrameLabelAndPlay(_arg_1:MovieClip, _arg_2:String):void
[static]
CommonUtils
  
gotoFrameLabelAndStop(_arg_1:MovieClip, _arg_2:String):void
[static]
CommonUtils
  
hasFrameLabel(_arg_1:MovieClip, _arg_2:String):Boolean
[static]
CommonUtils
  
[static]
CommonUtils
  
isPCVRControllerUsed(_arg_1:String = null):Boolean
[static]
CommonUtils
  
[static]
CommonUtils
Public Constants
 ConstantDefined By
  CONTROLLER_TYPE_KEY : String = key
[static]
CommonUtils
  CONTROLLER_TYPE_OCULUSVR : String = oculusvr
[static]
CommonUtils
  CONTROLLER_TYPE_OPENVR : String = openvr
[static]
CommonUtils
  CONTROLLER_TYPE_PC : String = pc
[static]
CommonUtils
  CONTROLLER_TYPE_PS4 : String = ps4
[static]
CommonUtils
  CONTROLLER_TYPE_PS5 : String = ps5
[static]
CommonUtils
  CONTROLLER_TYPE_STADIA : String = stadia
[static]
CommonUtils
  CONTROLLER_TYPE_SWITCHJOYCON : String = nsjc
[static]
CommonUtils
  CONTROLLER_TYPE_SWITCHPRO : String = nspro
[static]
CommonUtils
  CONTROLLER_TYPE_XBOXONE : String = xboxone
[static]
CommonUtils
  CONTROLLER_TYPE_XBOXSERIESX : String = xboxseriesx
[static]
CommonUtils
  MENU_ACCEPTFACEDOWN_CANCELFACERIGHT : int = 0
[static]
CommonUtils
  MENU_ACCEPTFACERIGHT_CANCELFACEDOWN : int = 1
[static]
CommonUtils
  PLATFORM_DURANGO : String = durango
[static]
CommonUtils
  PLATFORM_IZUMO : String = izumo
[static]
CommonUtils
  PLATFORM_ORBIS : String = orbis
[static]
CommonUtils
  PLATFORM_PC : String = pc
[static]
CommonUtils
  PLATFORM_PS5 : String = ps5
[static]
CommonUtils
  PLATFORM_SCARLETT : String = scarlett
[static]
CommonUtils
  PLATFORM_STADIA : String = stadia
[static]
CommonUtils
Method Detail
changeFontToGlobalFont()method
public static function changeFontToGlobalFont(_arg_1:TextField):void

Parameters

_arg_1:TextField

changeFontToGlobalIfNeeded()method 
public static function changeFontToGlobalIfNeeded(_arg_1:TextField):Boolean

Parameters

_arg_1:TextField

Returns
Boolean
getActiveTextLocaleIndex()method 
public static function getActiveTextLocaleIndex():int

Returns
int
getPlatformString()method 
public static function getPlatformString():String

Returns
String
getSubtitleBGAlpha()method 
public static function getSubtitleBGAlpha():Number

Returns
Number
getSubtitleSize()method 
public static function getSubtitleSize():Number

Returns
Number
getUIOptionValue()method 
public static function getUIOptionValue(_arg_1:String):Boolean

Parameters

_arg_1:String

Returns
Boolean
getUIOptionValueNumber()method 
public static function getUIOptionValueNumber(_arg_1:String):Number

Parameters

_arg_1:String

Returns
Number
gotoFrameLabelAndPlay()method 
public static function gotoFrameLabelAndPlay(_arg_1:MovieClip, _arg_2:String):void

Parameters

_arg_1:MovieClip
 
_arg_2:String

gotoFrameLabelAndStop()method 
public static function gotoFrameLabelAndStop(_arg_1:MovieClip, _arg_2:String):void

Parameters

_arg_1:MovieClip
 
_arg_2:String

hasFrameLabel()method 
public static function hasFrameLabel(_arg_1:MovieClip, _arg_2:String):Boolean

Parameters

_arg_1:MovieClip
 
_arg_2:String

Returns
Boolean
isDualShock4TrackpadAlternativeButtonNeeded()method 
public static function isDualShock4TrackpadAlternativeButtonNeeded():Boolean

Returns
Boolean
isPCVRControllerUsed()method 
public static function isPCVRControllerUsed(_arg_1:String = null):Boolean

Parameters

_arg_1:String (default = null)

Returns
Boolean
isWindowsXBox360ControllerUsed()method 
public static function isWindowsXBox360ControllerUsed():Boolean

Returns
Boolean
Constant Detail
CONTROLLER_TYPE_KEYConstant
public static const CONTROLLER_TYPE_KEY:String = key

CONTROLLER_TYPE_OCULUSVRConstant 
public static const CONTROLLER_TYPE_OCULUSVR:String = oculusvr

CONTROLLER_TYPE_OPENVRConstant 
public static const CONTROLLER_TYPE_OPENVR:String = openvr

CONTROLLER_TYPE_PCConstant 
public static const CONTROLLER_TYPE_PC:String = pc

CONTROLLER_TYPE_PS4Constant 
public static const CONTROLLER_TYPE_PS4:String = ps4

CONTROLLER_TYPE_PS5Constant 
public static const CONTROLLER_TYPE_PS5:String = ps5

CONTROLLER_TYPE_STADIAConstant 
public static const CONTROLLER_TYPE_STADIA:String = stadia

CONTROLLER_TYPE_SWITCHJOYCONConstant 
public static const CONTROLLER_TYPE_SWITCHJOYCON:String = nsjc

CONTROLLER_TYPE_SWITCHPROConstant 
public static const CONTROLLER_TYPE_SWITCHPRO:String = nspro

CONTROLLER_TYPE_XBOXONEConstant 
public static const CONTROLLER_TYPE_XBOXONE:String = xboxone

CONTROLLER_TYPE_XBOXSERIESXConstant 
public static const CONTROLLER_TYPE_XBOXSERIESX:String = xboxseriesx

MENU_ACCEPTFACEDOWN_CANCELFACERIGHTConstant 
public static const MENU_ACCEPTFACEDOWN_CANCELFACERIGHT:int = 0

MENU_ACCEPTFACERIGHT_CANCELFACEDOWNConstant 
public static const MENU_ACCEPTFACERIGHT_CANCELFACEDOWN:int = 1

PLATFORM_DURANGOConstant 
public static const PLATFORM_DURANGO:String = durango

PLATFORM_IZUMOConstant 
public static const PLATFORM_IZUMO:String = izumo

PLATFORM_ORBISConstant 
public static const PLATFORM_ORBIS:String = orbis

PLATFORM_PCConstant 
public static const PLATFORM_PC:String = pc

PLATFORM_PS5Constant 
public static const PLATFORM_PS5:String = ps5

PLATFORM_SCARLETTConstant 
public static const PLATFORM_SCARLETT:String = scarlett

PLATFORM_STADIAConstant 
public static const PLATFORM_STADIA:String = stadia