EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Page 113

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operators 113
= (assignment) Assigns the value of expression2 (the parameter on
the right) to the variable, array element, or property in
expression1.
& (bitwise AND) Converts expression1 and expression2 to 32-bit
unsigned integers, and performs a Boolean AND
operation on each bit of the integer parameters.
&= (bitwise AND assignment) Assigns expression1 the value of expression1&
expression2.
<< (bitwise left shift) 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.
<<= (bitwise left shift and
assignment)
This operator performs a bitwise left shift (<<=) operation
and stores the contents as a result in expression1.
~ (bitwise NOT) Also known as the one's complement operator or the
bitwise complement operator.
| (bitwise OR) 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.
|= (bitwise OR assignment) Assigns expression1 the value of expression1 |
expression2.
>> (bitwise right shift) 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.
>>= (bitwise right shift and
assignment)
This operator performs a bitwise right-shift operation
and stores the contents as a result in expression1.
>>> (bitwise unsigned right
shift)
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.
>>>= (bitwise unsigned right
shift and assignment)
Performs an unsigned bitwise right-shift operation and
stores the contents as a result in expression1.
Operator Description

Table of Contents

Related product manuals