Operator Precedence and Associativity
This table lists all of the ActionScript operators and their associativity, from highest to
lowest precedence.
Operator
+
-
~
!
not
++
--
( )
[ ]
.
++
--
new
delete
typeof
void
*
/
%
+
Description
Highest precedence
Unary plus
Unary minus
Bitwise NOT
Logical NOT
Logical NOT (Flash 4 style)
Post-increment
Post-decrement
Function call
Array element
Structure member
Pre-increment
Pre-decrement
Allocate object
Deallocate object
Type of object
Returns undefined value
Multiply
Divide
Modulo
Add
APPENDIX B
Associativity
Right to left
Right to left
Right to left
Right to left
Right to left
Left to right
Left to right
Left to right
Left to right
Left to right
Right to left
Right to left
Right to left
Right to left
Right to left
Right to left
Left to right
Left to right
Left to right
Left to right
787
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers