Packagecom.zehfernando.utils
Classpublic class AppUtils



Public Properties
 PropertyDefined by
  isLinux : Boolean
[static][read-only]
AppUtils
  isMac : Boolean
[static][read-only]
AppUtils
  isStandalone : Boolean
[static][read-only]
AppUtils
  isWindows : Boolean
[static][read-only]
AppUtils
Protected Properties
 PropertyDefined by
  root : DisplayObjectContainer
[static]
AppUtils
  stage : Stage
[static]
AppUtils
Public Methods
 MethodDefined by
  
AppUtils
  
[static]
AppUtils
  
getFlashVar(__parameter:String):String
[static]
AppUtils
  
getRoot():DisplayObjectContainer
[static]
AppUtils
  
getStage():Stage
[static]
AppUtils
  
init(__stage:Stage, __root:DisplayObjectContainer):void
[static]
AppUtils
  
isTesting():Boolean
[static] Tells whether this is being tested (ran on the IDE Flash player), or not.
AppUtils
  
[static]
AppUtils
Protected Methods
 MethodDefined by
  
toggleFullScreen(e:ContextMenuEvent = null):void
[static]
AppUtils
Property detail
isLinuxproperty
isLinux:Boolean  [read-only]Implementation
    public static function get isLinux():Boolean
isMacproperty 
isMac:Boolean  [read-only]Implementation
    public static function get isMac():Boolean
isStandaloneproperty 
isStandalone:Boolean  [read-only]Implementation
    public static function get isStandalone():Boolean
isWindowsproperty 
isWindows:Boolean  [read-only]Implementation
    public static function get isWindows():Boolean
rootproperty 
protected static var root:DisplayObjectContainer
stageproperty 
protected static var stage:Stage
Constructor detail
AppUtils()constructor
public function AppUtils()
Method detail
addDebugBoxes()method
public static function addDebugBoxes():void
getFlashVar()method 
public static function getFlashVar(__parameter:String):StringParameters
__parameter:String

Returns
String
getRoot()method 
public static function getRoot():DisplayObjectContainer

Returns
DisplayObjectContainer
getStage()method 
public static function getStage():Stage

Returns
Stage
init()method 
public static function init(__stage:Stage, __root:DisplayObjectContainer):voidParameters
__stage:Stage
 
__root:DisplayObjectContainer
isTesting()method 
public static function isTesting():Boolean

Tells whether this is being tested (ran on the IDE Flash player), or not.

Returns
Boolean — TRUE if this is a test execution, false if otherwise.
resetContextMenu()method 
public static function resetContextMenu():void
toggleFullScreen()method 
protected static function toggleFullScreen(e:ContextMenuEvent = null):voidParameters
e:ContextMenuEvent (default = null)