Operators

Symbolic operators are characters that specify how to combine, compare, or modify the values of an expression.

Operators summary

OperatorDescription
+ (addition)Adds numeric expressions or concatenates (combines) strings.
+= (addition assignment)Assigns expression1 the value of expression1 + expression2.
[] (array access)Initializes a new array or multidimensional array with the specified elements (a0 , and so on), or accesses elements in an array.
= (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. ...

Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.