And Logical And Operator; Logical Not Operator - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

and logical AND operator

condition1 and condition2
Deprecated since Flash Player 5. Macromedia recommends that you use the logical AND
(
operator.
&&)
Performs a logical AND (
, the entire expression is
true
Availability: ActionScript 1.0; Flash Lite 1.0
Operands
condition1 :
Boolean
to
or
.
true
false
condition2 :
Boolean
to
or
.
true
false
Returns
- A Boolean result of the logical operation.
Boolean
See also
&& logical AND operator

! logical NOT operator

! expression
Inverts the Boolean value of a variable or expression. If
absolute or converted value
evaluates to
, the expression
y
false
The following expressions illustrate the result of using the logical NOT (!) operator:
returns
! true
false! false
Availability: ActionScript 1.0; Flash Lite 1.0
Operands
expression :
Boolean
Returns
- The Boolean result of the logical operation.
Boolean
160
ActionScript language elements
operation in Flash Player 4. If both expressions evaluate to
&&)
.
true
-
condition1,condition2
-
condition1,condition2
, the value of
true
!(x && y)
returns
true
- An expression or a variable that evaluates to a Boolean value.
Conditions or expressions that evaluate
Conditions or expressions that evaluate
expression
is
!expression
false
evaluates to
.
true
is a variable with the
. If the expression
x &&

Advertisement

Table of Contents
loading

Table of Contents