User Guide

Global Functions 45
Array function
Array() : Array
Array(numElements:Number) : Array
Array(element0:Object, [element1, element2, ...elementN]) : Array
Creates a new array of length 0 or more, or an array populated by a list of specified elements,
possibly of different data types.
Use
Array() to create one of the following:
An empty array
An array with a specific length but whose elements have undefined values
An array whose elements have specific values
Using this function is similar to creating an array with the Array constructor (see
"Constructor for the Array class").
You can pass a number (
numElements) or a list of elements containing one or more different
types (
element0, element1, ... elementN).
Parameters that can accept more than one data type are listed in the signature as type
Object.
Availability: ActionScript 1.0; Flash Player 6
trace(expression:Obj
ect)
Evaluates the expression and outputs the result.
unescape(string:Stri
ng)
Evaluates the parameter x as a string, decodes the
string from URL-encoded format (converting all
hexadecimal sequences to ASCII characters), and
returns the string.
unloadMovie(target:O
bject)
Removes a movie clip that was loaded by means of
loadMovie() from Flash Player.
unloadMovieNum(level
:Number)
Removes a SWF or image that was loaded by means
of loadMovieNum() from Flash Player.
updateAfterEvent() Updates the display when you call it within an handler
or using setInterval().
Modifiers Signature Description