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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Operator Description<br />

<strong>and</strong> (logical AND) Deprecated since Flash Player 5. <strong>Adobe</strong> recommends that you use<br />

the logical AND (&&) operator.<br />

Performs a logical AND (&&) operation in Flash Player 4.<br />

! (logical NOT) Inverts the Boolean value of a variable or expression.<br />

not (logical NOT) Deprecated since Flash Player 5. This operator was deprecated in<br />

favor of the! (logical NOT) operator.<br />

Performs a logical NOT (!) operation in Flash Player 4.<br />

|| (logical OR) Evaluates expression1 (the expression on the left side of the<br />

operator) <strong>and</strong> returns true if the expression evaluates to true.<br />

or (logical OR) Deprecated since Flash Player 5. This operator was deprecated in<br />

favor of the || (logical OR) operator.<br />

Evaluates condition1 <strong>and</strong> condition2, <strong>and</strong> if either expression is<br />

true, the whole expression is true.<br />

% (modulo) Calculates the remainder of expression1 divided by expression2.<br />

%= (modulo<br />

assignment)<br />

Assigns expression1 the value of expression1 % expression2.<br />

* (multiplication) Multiplies two numerical expressions.<br />

*= (multiplication<br />

assignment)<br />

Assigns expression1 the value of expression1 * expression2.<br />

new Creates a new, initially anonymous, object <strong>and</strong> calls the function<br />

identified by the constructor parameter.<br />

ne (not equal<br />

(strings))<br />

{} (object<br />

initializer)<br />

Deprecated since Flash Player 5. This operator was deprecated in<br />

favor of the != (inequality) operator.<br />

Returns true if expression1 is not equal to expression2; false<br />

otherwise.<br />

Creates a new object <strong>and</strong> initializes it with the specified name <strong>and</strong><br />

value property pairs.<br />

() (parentheses) Performs a grouping operation on one or more parameters, performs<br />

sequential evaluation of expressions, or surrounds one or more<br />

parameters <strong>and</strong> passes them as parameters to a function outside the<br />

parentheses.<br />

=== (strict<br />

equality)<br />

!== (strict<br />

inequality)<br />

Tests two expressions for equality; the strict equality (=== )operator<br />

performs in the same way as the equality (== ) operator, except that<br />

data types are not converted.<br />

Tests for the exact opposite of the strict equality ( === ) operator.<br />

Operators 109

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

Saved successfully!

Ooh no, something went wrong!