MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 233

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

Example
The following example assigns the value
x = 14;
y = 5;
trace(x %= y);
// returns 4
See also
% (modulo)
& (bitwise AND operator)
Availability
Flash Player 5. In Flash 4, the
the
operator is a bitwise AND, and you must use the
&
Flash 4 files that use the
Flash 5 or later authoring environment.
Usage
expression1 & expression2
Parameters
None.
Returns
Nothing.
Description
Operator (bitwise); converts
performs a Boolean AND operation on each bit of the integer parameters. The result is a new 32-
bit unsigned integer.
&& (logical AND)
Availability
Flash Player 4.
Usage
expression1 && expression2
Parameters
None.
Returns
A Boolean value.
to the variable
4
operator was used for concatenating strings. In Flash 5 and later,
&
operator are automatically updated to use
&
and
expression1
.
x
and
operators to concatenate strings.
add
+
add
to 32-bit unsigned integers, and
expression2
when brought into the
&& (logical AND)
233

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

Table of Contents