GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Git
  • SVN
  • MySQL
  • Regex
  • Linux
  • HTML
  • HTML-DOM
  • mod_rewrite
  • Even More »
  • Python
  • jQuery
  • NodeJS
  • PHP
  • Java

This view

  • Original page
  • New address

GeezerVison is showing overapi.com — ActionScript Cheat Sheet | OverAPI.com

More »
  • Git
  • SVN
  • MySQL
  • Regex
  • Linux
  • HTML
  • HTML-DOM
  • mod_rewrite
  • Even More »
OverAPI.com
  • Python
  • jQuery
  • NodeJS
  • PHP
  • Java
  • Ruby
  • Javascript
  • ActionScript
  • CSS
  • Express
  • More »
Loading...

Resource

Online

  • Official Website

Download

  • Flash ActionScript Quick Reference [.pdf]

Related

  • Adobe Systems
  • Open Source Media Framework

Global

Constants

  • Infinity
  • -Infinity
  • NaN
  • undefined

Functions

  • Array
  • Boolean
  • decodeURI
  • decodeURIComponent
  • encodeURI
  • encodeURIComponent
  • escape
  • int
  • isFinite
  • isNaN
  • isXMLName
  • Number
  • Object
  • parseFloat
  • parseInt
  • String
  • trace
  • uint
  • unescape
  • Vector
  • XML
  • XMLList

OO

arguments

  • An arguments object is used to store and access a function's arguments.
  • callee:Function
  • length:Number

Boolean

  • A Boolean object is a data type that can have one of two values, either true or false, used for logical operations.
  • Boolean()
  • toString():String
  • valueOf():Boolean

Function

  • A function is the basic unit of code that can be invoked in ActionScript.
  • apply()
  • call()

Namespace

  • The Namespace class contains methods and properties for defining and working with namespaces.
  • prefix
  • uri
  • Namespace()
  • Namespace()
  • toString()
  • valueOf()

Object

  • The Object class is at the root of the ActionScript runtime class hierarchy.
  • Object()
  • hasOwnProperty()
  • isPrototypeOf()
  • propertyIsEnumerable()
  • setPropertyIsEnumerable()
  • toLocaleString()
  • toString()
  • valueOf()

Array

  • The Array class lets you access and manipulate arrays.
  • Array()
  • Array()
  • concat():Array
  • every():Boolean
  • filter():Array
  • forEach():void
  • indexOf():int
  • join():String
  • lastIndexOf():int
  • map():Array
  • pop():*
  • push():uint
  • reverse():Array
  • shift():*
  • slice():Array
  • some():Boolean
  • sort():Array
  • sortOn():Array
  • splice():Array
  • toLocaleString():String
  • toString():String
  • unshift():uint

Date

Properties

  • The Date class represents date and time information.
  • date
  • dateUTC
  • day
  • dayUTC
  • fullYear
  • fullYearUTC
  • hours
  • hoursUTC
  • milliseconds
  • millisecondsUTC
  • minutes
  • minutesUTC
  • month
  • monthUTC
  • seconds
  • secondsUTC
  • time
  • timezoneOffset

Methods

  • Date()
  • getDate()
  • getDay()
  • getFullYear()
  • getHours()
  • getMilliseconds()
  • getMinutes()
  • getMonth()
  • getSeconds()
  • getTime()
  • getTimezoneOffset()
  • getUTCDate()
  • getUTCDay()
  • getUTCFullYear()
  • getUTCHours()
  • getUTCMilliseconds()
  • getUTCMinutes()
  • getUTCMonth()
  • getUTCSeconds()
  • parse()
  • setDate()
  • setFullYear()
  • setHours()
  • setMilliseconds()
  • setMinutes()
  • setMonth()
  • setSeconds()
  • setTime()
  • setUTCDate()
  • setUTCFullYear()
  • setUTCHours()
  • setUTCMilliseconds()
  • setUTCMinutes()
  • setUTCMonth()
  • setUTCSeconds()
  • toDateString()
  • toJSON()
  • toLocaleDateString()
  • toLocaleString()
  • toLocaleTimeString()
  • toString()
  • toTimeString()
  • toUTCString()
  • UTC()
  • valueOf()

Error

Error

  • errorID : int
  • message : String
  • name : String
  • Error(message:String = "", id:int = 0)
  • getStackTrace():String
  • toString():String

DefinitionError

  • DefinitionError()

EvalError

  • EvalError()

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.

XML Methods

  • XML()
  • addNamespace()
  • appendChild()
  • attribute()
  • attributes()
  • child()
  • childIndex()
  • children()
  • comments()
  • contains()
  • copy()
  • defaultSettings()
  • descendants()
  • elements()
  • hasComplexContent()
  • hasOwnProperty()
  • hasSimpleContent()
  • inScopeNamespaces()
  • insertChildAfter()
  • insertChildBefore()
  • length()
  • localName()
  • name()
  • namespace()
  • namespaceDeclarations()
  • nodeKind()
  • normalize()
  • parent()
  • prependChild()
  • processingInstructions()
  • propertyIsEnumerable()
  • removeNamespace()
  • replace()
  • setChildren()
  • setLocalName()
  • setName()
  • setNamespace()
  • setSettings()
  • settings()
  • text()
  • toJSON()
  • toString()
  • toXMLString()
  • valueOf()

XMLList

  • XMLList()
  • attribute()
  • attributes()
  • child()
  • children()
  • comments()
  • contains()
  • copy()
  • descendants()
  • elements()
  • hasComplexContent()
  • hasOwnProperty()
  • hasSimpleContent()
  • length()
  • normalize()
  • parent()
  • processingInstructions()
  • propertyIsEnumerable()
  • text()
  • toString()
  • toXMLString()
  • valueOf()

int

  • The int class lets you work with the data type representing a 32-bit signed integer.
  • int()
  • toExponential()
  • toFixed()
  • toPrecision()
  • toString()
  • valueOf()
  • MAX_VALUE
  • [static] The largest representable 32-bit signed integer, which is 2,147,483,647.
  • MIN_VALUE
  • [static] The smallest representable 32-bit signed integer, which is -2,147,483,648.

Math

Methods

  • The Math class contains methods and constants that represent common mathematical functions and values.
  • abs()
  • acos()
  • asin()
  • atan()
  • atan2()
  • ceil()
  • cos()
  • exp()
  • floor()
  • log()
  • max()
  • min()
  • pow()
  • random()
  • round()
  • sin()
  • sqrt()
  • tan()

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

Methods

  • A data type representing an IEEE-754 double-precision floating-point number.
  • Number()
  • toExponential()
  • toFixed()
  • toPrecision()
  • toString()
  • valueOf()

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.

RegExp

Properties

  • The RegExp class lets you work with regular expressions, which are patterns that you can use to perform searches in strings and to replace text in strings.
  • dotall
  • extended
  • global
  • ignoreCase
  • lastIndex
  • multiline
  • source

Methods

  • RegExp()
  • exec()
  • test()

String

  • The String class is a data type that represents a string of characters.
  • String()
  • charAt()
  • charCodeAt()
  • concat()
  • fromCharCode()
  • indexOf()
  • lastIndexOf()
  • localeCompare()
  • match()
  • replace()
  • search()
  • slice()
  • split()
  • substr()
  • substring()
  • toLocaleLowerCase()
  • toLocaleUpperCase()
  • toLowerCase()
  • toUpperCase()
  • valueOf()

uint

  • The uint class provides methods for working with a data type representing a 32-bit unsigned integer.
  • uint()
  • toExponential()
  • toFixed()
  • toPrecision()
  • toString()
  • valueOf()

Vector

  • The Vector class lets you access and manipulate a vector — an array whose elements all have the same data type.
  • Vector()
  • concat().<T>
  • every()
  • filter().<T>
  • forEach()
  • indexOf()
  • join()
  • lastIndexOf()
  • map().<T>
  • pop():T
  • push()
  • reverse()
  • shift()
  • slice().<T>
  • some()
  • sort().<T>
  • splice().<T>
  • toLocaleString()
  • toString()
  • unshift()
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.