03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Returns<br />

String - A String representation of the type of expression. The following table shows the<br />

results of the typeof operator on each type of expression.<br />

Expression Type Result<br />

String string<br />

Movie clip movieclip<br />

Button object<br />

Text field object<br />

Number number<br />

Boolean boolean<br />

Object object<br />

Function function<br />

See also<br />

instanceof operator<br />

void operator<br />

void expression<br />

The void operator evaluates an expression <strong>and</strong> then discards its value, returning undefined.<br />

The void operator is often used in comparisons using the == operator to test for undefined<br />

values.<br />

Oper<strong>and</strong>s<br />

expression : Object - An expression to be evaluated.<br />

Statements<br />

Statements are language elements that perform or specify an action. For example, the return<br />

statement returns a result as a value of the function in which it executes. The if statement<br />

evaluates a condition to determine the next action that should be taken. The switch statement<br />

creates a branching structure for ActionScript statements.<br />

Statements 165

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!