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

 falseA unique Boolean value that represents the opposite of true.
 InfinitySpecifies the IEEE-754 value representing positive infinity.
 -InfinitySpecifies the IEEE-754 value representing negative infinity.
 NaNA predefined variable with the IEEE-754 value for NaN (not a number).
 newlineInserts a carriage return character (\r) that generates a blank line in text output generated by your code.
 nullA special value that can be assigned to variables or returned by a function if no data was provided.
 trueA unique Boolean value that represents ...

Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.