or logical OR operator

condition1 or condition2

Deprecated since Flash Player 5. This operator was deprecated in favor of the || (logical OR) operator.

Evaluates condition1 and condition2, and if either expression is true, the whole expression is true.

Availability: ActionScript 1.0; Flash Player 4

Operands

condition1 : Boolean - An expression that evaluates to true or false.

condition2 : Boolean - An expression that evaluates to true or false.

Returns

Boolean - The result of the logical operation.

See also

|| logical OR operator, | bitwise OR operator


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00001293.html