GeezerVison is showing overapi.com — ActionScript Cheat Sheet | OverAPI.com
Loading...
OO
Function
- A function is the basic unit of code that can be invoked in ActionScript.
- apply()
- call()
Error
ArgumentError
- The ArgumentError class represents an error that occurs when the arguments supplied in a function do not match the arguments defined for that function.
- ArgumentError(message:String = "")
RangeError
- A RangeError exception is thrown when a numeric value is outside the acceptable range.
- RangeError()
ReferenceError
- A ReferenceError exception is thrown when a reference to an undefined property is attempted on a sealed (nondynamic) object.
- ReferenceError()
SecurityError
- The SecurityError exception is thrown when some type of security violation takes place.
- SecurityError()
SyntaxError
- A SyntaxError exception is thrown when a parsing error occurs, for one of the following reasons:.
- SyntaxError()
TypeError
- A TypeError exception is thrown when the actual type of an operand is different from the expected type.
- TypeError()
URIError
- A URIError exception is thrown when one of the global URI handling functions is used in a way that is incompatible with its definition.
- URIError()
VerifyError
- The VerifyError class represents an error that occurs when a malformed or corrupted SWF file is encountered.
- VerifyError()
XML
XML Properties
- ignoreComments
- [static] Determines whether XML comments are ignored when XML objects parse the source XML data.
- ignoreProcessingInstructions
- [static] Determines whether XML processing instructions are ignored when XML objects parse the source XML data.
- ignoreWhitespace
- [static] Determines whether white space characters at the beginning and end of text nodes are ignored during parsing.
- prettyIndent
- [static] Determines the amount of indentation applied by the toString() and toXMLString() methods when the XML.prettyPrinting property is set to true.
- prettyPrinting
- [static] Determines whether the toString() and toXMLString() methods normalize white space characters between some tags.
Math
Constants
- E
- [static] A mathematical constant for the base of natural logarithms, expressed as e.
- LN10
- [static] A mathematical constant for the natural logarithm of 10, expressed as loge10, with an approximate value of 2.302585092994046.
- LN2
- [static] A mathematical constant for the natural logarithm of 2, expressed as loge2, with an approximate value of 0.6931471805599453.
- LOG10E
- [static] A mathematical constant for the base-10 logarithm of the constant e (Math.E), expressed as log10e, with an approximate value of 0.4342944819032518.
- LOG2E
- [static] A mathematical constant for the base-2 logarithm of the constant e, expressed as log2e, with an approximate value of 1.442695040888963387.
- PI
- [static] A mathematical constant for the ratio of the circumference of a circle to its diameter, expressed as pi, with a value of 3.141592653589793.
- SQRT1_2
- [static] A mathematical constant for the square root of one-half, with an approximate value of 0.7071067811865476.
- SQRT2
- [static] A mathematical constant for the square root of 2, with an approximate value of 1.4142135623730951.
Number
Constants
- MAX_VALUE
- [static] The largest representable number (double-precision IEEE-754).
- MIN_VALUE
- [static] The smallest representable non-negative, non-zero, number (double-precision IEEE-754).
- NaN
- [static] The IEEE-754 value representing Not a Number (NaN).
- NEGATIVE_INFINITY
- [static] Specifies the IEEE-754 value representing negative infinity.
- POSITIVE_INFINITY
- [static] Specifies the IEEE-754 value representing positive infinity.
QName
- QName objects represent qualified names of XML elements and attributes.
- QName()
- QName()
- toString()
- valueOf()
- localName
- [read-only] The local name of the QName object.
- uri
- [read-only] The Uniform Resource Identifier (URI) of the QName object.
|