Operators > & (bitwise AND)
& (bitwise AND)Syntax
expression1
&
expression2
Arguments
expression1, expression2
Any number.
Description
Operator (bitwise); converts expression1
and expression2
to 32-bit unsigned integers, and performs a Boolean AND operation on each bit of the integer arguments. The result is a new 32-bit unsigned integer.
Player
Flash 5 or later. In Flash 4 the &
operator was used for concatenating strings. In Flash 5 the &
operator is a bitwise AND, and the add
and +
operators concatenate strings. Flash 4 files that use the &
operator are automatically updated to use add
when brought into the Flash 5 authoring environment.