typeof
Availability
Flash Player 5.
Usage
typeof(expression)
Parameters
A string, movie clip, button, object, or function.
expression
Description
Operator; a unary operator placed before a single parameter. The
Flash interpreter to evaluate
a string, movie clip, object, function, number, or Boolean value. The following table shows the
results of the
typeof
Parameter
String
Movie clip
Button
Text field
Number
Boolean
Object
Function
; the result is a string specifying whether the expression is
expression
operator on each type of expression.
Output
string
movieclip
object
object
number
boolean
object
function
operator causes the
typeof
typeof
739
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers