MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference page 113

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

Advertisement

Operator
= (assignment)
&
(bitwise
AND)
&=
(bitwise AND
assignment)
<<
(bitwise left
shift)
<<=
(bitwise left shift and
assignment)
~
(bitwise
NOT)
|
(bitwise
OR)
|=
(bitwise OR
assignment)
>>
(bitwise right
shift)
>>=
(bitwise right shift and
assignment)
>>>
(bitwise unsigned right
shift)
>>>=
(bitwise unsigned right
shift and
assignment)
Description
Assigns the value of expression2 (the parameter on
the right) to the variable, array element, or property in
expression1.
Converts expression1 and expression2 to 32-bit
unsigned integers, and performs a Boolean AND
operation on each bit of the integer parameters.
Assigns expression1 the value of expression1&
expression2.
Converts expression1 and expression2 to 32-bit
integers, and shifts all the bits in expression1 to the
left by the number of places specified by the integer
resulting from the conversion of expression2.
This operator performs a bitwise left shift (<<=) operation
and stores the contents as a result in expression1.
Also known as the one's complement operator or the
bitwise complement operator.
Converts expression1 and expression2 to 32-bit
unsigned integers, and returns a 1 in each bit position
where the corresponding bits of either expression1
or expression2 are 1.
Assigns expression1 the value of expression1 |
expression2.
Converts expression1 and expression2 to 32-bit
integers, and shifts all the bits in expression1 to the
right by the number of places specified by the integer
that results from the conversion of expression2.
This operator performs a bitwise right-shift operation
and stores the contents as a result in expression1.
The same as the bitwise right shift (>> ) operator except
that it does not preserve the sign of the original
expression because the bits on the left are always
filled with 0. Floating-point numbers are converted to
integers by discarding any digits after the decimal
point.
Performs an unsigned bitwise right-shift operation and
stores the contents as a result in expression1.
Operators
113

Advertisement

Table of Contents
loading

Table of Contents