Global Methods
 FunctionDefined By
  
Top Level
  
Top Level
  
Top Level
  
Top Level
  
Top Level
  
Top Level
  
blah blah
Top Level
  
Top Level
  
Top Level
  
Top Level
  
parseFloat(str:String = "NaN"):Number
Top Level
  
parseInt(s:String = "NaN", radix:int = 0):Number
Top Level
  
AVM-only print(... arguments):void
Displays expressions, or writes to log files, while debugging.
Top Level
  
Top Level
  
trace(... arguments):void
Displays expressions, or writes to log files, while debugging.
Top Level
  
Top Level


Global Constants
 ConstantDefined By
  Infinity : Number = Infinity
Top Level
  NaN : Number = NaN
Top Level
  undefined : * = undefined
Top Level
Constant Detail
InfinityConstant
public const Infinity:Number = Infinity

NaNConstant 
public const NaN:Number = NaN

undefinedConstant 
public const undefined:* = undefined

Function detail
bugzilla()function
public function bugzilla(n:int):Boolean

Parameters

n:int

Returns
Boolean
decodeURI()function 
public function decodeURI(uri:String):String

Parameters

uri:String

Returns
String
decodeURIComponent()function 
public function decodeURIComponent(uri:String):String

Parameters

uri:String

Returns
String
encodeURI()function 
public function encodeURI(uri:String):String

Parameters

uri:String

Returns
String
encodeURIComponent()function 
public function encodeURIComponent(uri:String):String

Parameters

uri:String

Returns
String
escape()function 
public function escape(s:String):String

Parameters

s:String

Returns
String
getClassByName()function 
public function getClassByName(name:String):Class

blah blah

Parameters

name:String

Returns
Class
isFinite()function 
public function isFinite(n:Number = NaN):Boolean

Parameters

n:Number (default = NaN)

Returns
Boolean
isNaN()function 
public function isNaN(n:Number = NaN):Boolean

Parameters

n:Number (default = NaN)

Returns
Boolean
isXMLName()function 
public function isXMLName(str:*):Boolean

Parameters

str:* (default = NaN)

Returns
Boolean
parseFloat()function 
public function parseFloat(str:String = "NaN"):Number

Parameters

str:String (default = "NaN")

Returns
Number
parseInt()function 
public function parseInt(s:String = "NaN", radix:int = 0):Number

Parameters

s:String (default = "NaN")
 
radix:int (default = 0)

Returns
Number
AVM-only print()function 
public function print(... arguments):void

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Displays expressions, or writes to log files, while debugging.

A single print statement can support multiple arguments. If any argument in a print statement includes a data type other than a String, the print function invokes the associated toString() method for that data type. For example, if the argument is a Boolean value the print function invokes Boolean.toString() and displays the return value.

Note: The print() function is completely similar to the trace() function, the only difference is that you can hook your own function to the print() function. TODO Program.onPrint = function() { ... }

Parameters

... arguments — One or more (comma separated) expressions to evaluate. For multiple expressions, a space is inserted between each expression in the output.

See also

trace()

Example
The following example show how the print() method can be used to print a simple string. Generally, the message will be printed to a "Debug" console.
     print( "Hello World" );
     
readLine()function 
public function readLine():String

Returns
String
trace()function 
public function trace(... arguments):void

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.0

Displays expressions, or writes to log files, while debugging.

A single trace statement can support multiple arguments. If any argument in a trace statement includes a data type other than a String, the trace function invokes the associated toString() method for that data type. For example, if the argument is a Boolean value the trace function invokes Boolean.toString() and displays the return value.

Parameters

... arguments — One or more (comma separated) expressions to evaluate. For multiple expressions, a space is inserted between each expression in the output.


Example
The following example uses the class TraceExample to show how the trace() method can be used to print a simple string. Generally, the message will be printed to a "Debug" console.
     package
     {
          import flash.display.Sprite;
     
          public class TraceExample extends Sprite
          {
              public function TraceExample()
              {
                  trace( "Hello World" );
              }
          }
     }
     
unescape()function 
public function unescape(s:String):String

Parameters

s:String

Returns
String