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

ModifiersConstantDescription
 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.