Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Operators > = (assignment) | |||
Flash Lite 1.0.
expression1 = expression2
expression1 A variable or a property.
expression2 A value.
Operator; assigns the value of expression2 (the operand on the right) to the variable or property in expression1.
The following example uses the assignment (=) operator to assign a numeric value to the variable weight:
weight = 5;
The following example uses the assignment (=) operator to assign a string value to the variable greeting:
greeting ="Hello," and personName;
|
|
|
|