Constants

A constant is a variable used to represent a property whose value never changes. This section describes global constants that are available to every script.

Constants summary

Modifiers

Constant

Description

 

false

A unique Boolean value that represents the opposite of true.

 

Infinity

Specifies the IEEE-754 value representing positive infinity.

 

-Infinity

Specifies the IEEE-754 value representing negative infinity.

 

NaN

A predefined variable with the IEEE-754 value for NaN (not a number).

 

newline

Inserts a carriage return character (\r) that generates a blank line in text output generated by your code.

 

null

A special value that can be assigned to variables or returned by a function if no data was provided.

 

true

A unique Boolean value that represents the opposite of false.

 

undefined

A special value, usually used to indicate that a variable has not yet been assigned a value.


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00001157.html