MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Manual page 177

Learning actionscript 2.0 in flash
Table of Contents

Advertisement

"About multiplicative operators" on page 187
"About additive operators" on page 187
"Using numeric operators" on page 188
"About relational operators" on page 189
"About equality operators" on page 189
"Using relational and equality operators" on page 190
"About assignment operators" on page 193
"Using assignment operators" on page 194
"About logical operators" on page 194
"Using logical operators" on page 195
"About bitwise shift operators" on page 196
"About bitwise logical operators" on page 197
"Using bitwise operators" on page 197
"About the conditional operator" on page 199
"Using operators in a document" on page 199
For information on operators, that do not fall into these categories, see the ActionScript 2.0
Language Reference, which contains information about all the operators you can use.
The following sections show you some common uses for operators. For more information on
using many operators in a single code sample, see
on page
199.
Using operators to manipulate values
Operators are commonly used to manipulate values in Flash. For example, you might want to
create a game in Flash where the score changes depending on the user's interaction with
instances on the Stage. You can use a variable to hold the value and operators to manipulate
the value of the variable.
For example, you might want to increase the value of a variable called
example demonstrates how to use the + (addition) and += (addition assignment) operators to
add and increment values in your code.
"Using operators in a document"
myScore
. The following
About operators
177

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents