Packageshell
Classpublic class Runtime
InheritanceRuntime Inheritance Object

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The Runtime class represents the currently running redshell runtime.

TODO



Public Properties
 PropertyDefined By
  AVM-only api : String
[static] [read-only] Returns the string name of the api version.
Runtime
  AVM-only apiVersion : int
[static] [read-only] Return the value passed to -api at launch or the default value.
Runtime
  AVM-only architecture : String
[static] [read-only] Returns the current CPU architecture.
Runtime
  AVM-only description : String
[static] [read-only] Returns the current string description emebedded in the AVM+ shell.
Runtime
  AVM-only endian : String
[static] [read-only] Returns the byte order (endianess) of the runtime.
Runtime
  AVM-only features : String
[static] [read-only] Returns the compiled in features of AVM+.
Runtime
  AVM-only goAsync : Function = null
[static] Forces !RedTamarin to run asynchronous so it can support Events.
Runtime
  AVM-only loop : EventLoop
[static] The global EventLoop instance.
Runtime
  AVM-only platform : String
[static] [read-only] Returns the current Operating System platform.
Runtime
  AVM-only redtamarin : String
[static] [read-only] Returns the current version of RedTamarin in the form "1.0.2X100" (major.minor.tag).
Runtime
  AVM-only runmode : String
[static] [read-only] Returns the current runmode.
Runtime
  AVM-only swfVersion : int
[static] [read-only] Returns the value passed to -swfversion at launch or the default value.
Runtime
  AVM-only version : String
[static] [read-only] Returns the current version of AVM+ in the form "1.0 d100".
Runtime
Public Methods
 MethodDefined By
 Inherited
_init():*
[static]
_init
  
AVM-only eval(source:String):void
[static] Evaluates AS3 source code at runtime.
Runtime
 Inherited
AS3
 Inherited
init():*
[static]
init
  
[static] Indicates if the runtime is running on a 64-bit platform.
Runtime
 Inherited
AS3
 Inherited
AS3
  
AVM-only returnEval(source:String, recordTime:Boolean = false):String
[static] Evaluates AS3 source code at runtime and return the result into a string.
Runtime
Protected Methods
 MethodDefined By
 Inherited
[static]
protected
 Inherited
_setPropertyIsEnumerable(o:*, V:String, enumerable:Boolean):void
[static]
protected
Public Constants
 ConstantDefined By
 Inheritedlength : int = 1
[static]
length
Property Detail
AVM-only apiproperty
api:String  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Returns the string name of the api version.


Implementation
    public static function get api():String
AVM-only apiVersionproperty 
apiVersion:int  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Return the value passed to -api at launch or the default value.


Implementation
    public static function get apiVersion():int
AVM-only architectureproperty 
architecture:String  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Returns the current CPU architecture.

The value can be "x86-32", "x86-64", "ARM", "PowerPC", "SPARC", "MIPS", "SH4", or "unknown".


Implementation
    public static function get architecture():String
AVM-only descriptionproperty 
description:String  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Returns the current string description emebedded in the AVM+ shell.


Implementation
    public static function get description():String
AVM-only endianproperty 
endian:String  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Returns the byte order (endianess) of the runtime.


Implementation
    public static function get endian():String
AVM-only featuresproperty 
features:String  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Returns the compiled in features of AVM+.


Implementation
    public static function get features():String
AVM-only goAsyncproperty 
public static var goAsync:Function = null

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Forces !RedTamarin to run asynchronous so it can support Events.

Instanciate an EventLoop implementation.

AVM-only loopproperty 
loop:EventLoop

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The global EventLoop instance.


Implementation
    public static function get loop():EventLoop
    public static function set loop(value:EventLoop):void
AVM-only platformproperty 
platform:String  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Returns the current Operating System platform.

The value can be "windows", "macintosh", or "linux".


Implementation
    public static function get platform():String
AVM-only redtamarinproperty 
redtamarin:String  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Returns the current version of RedTamarin in the form "1.0.2X100" (major.minor.tag).


Implementation
    public static function get redtamarin():String
AVM-only runmodeproperty 
runmode:String  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Returns the current runmode.


Implementation
    public static function get runmode():String
AVM-only swfVersionproperty 
swfVersion:int  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Returns the value passed to -swfversion at launch or the default value.


Implementation
    public static function get swfVersion():int
AVM-only versionproperty 
version:String  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Returns the current version of AVM+ in the form "1.0 d100".


Implementation
    public static function get version():String
Method Detail
AVM-only eval()method
public static function eval(source:String):void

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Evaluates AS3 source code at runtime.

Parameters

source:String

AVM-only is64bit()method 
public static function is64bit():Boolean

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Indicates if the runtime is running on a 64-bit platform.

Returns
Boolean
AVM-only returnEval()method 
public static function returnEval(source:String, recordTime:Boolean = false):String

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Evaluates AS3 source code at runtime and return the result into a string.

Parameters

source:String
 
recordTime:Boolean (default = false)

Returns
String