O'Reilly logo

ActionScript 2.0 Language Reference for Macromedia® Flash® 8 by Shimul Rahim, Robert L. Dixon, Jen deHaan, Francis Cheng

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required