MACROMEDIA FLASH MX PROFESSIONAL 2004 - FLASH LITE 1.1 AUTHORING Manual de usuario Pagina 24

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 56
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 23
http://216.239.39.104/translate_c?hl=en&ie=UTF-8&oe=UTF-8&la...
1 of 2 12/27/05 2:56 PM
Previous Home Next
X = 10;
Y = 250;
If (X > 25 || Y > 200) {
Z = 5;
}
Else {
Z=0;
/ After executing the cord/code above, the value of the Z becomes 5
Completely support
Action name
Operator (non-equivalence Opposition of equivalent operator is tested. When formula 1 is equal to formula 2, the result is the
false.
Operator. When dividing formula 1 with formula 2, surplus is calculated.
X %= Y
}
(Logical NOT)
Previous Home Next
Operator (logic Pool
value of variable or
formula it reverses.
Completely support
Action name Explanation
Support
&& (logical AND)
Operator (logic Formula 1 is appraised, when formula 1
is the true, formula 2 is appraised. If as for the result,
appraisal of both system is the true, it is the true, if
appraisal of each system is the false, it is the false.
With the following example, && operator is used in if
statement.
Because appraisal of both system is the true, the final
returns become the true.
X = 30;
Y = 250;
If (X > 25 && Y > 200) {
Z = 5;
}
Else {
} / After executing with the cord/code above, the value of
the Z becomes 5
Completely support
(Condition
Operator (condition Formula 1 is appraised, when
formula 1 is the true, value of formula 2 is returned.
Case it is the other than that, apply the value of formula
3 it does.
With the following example, because appraisal of
formula 1 is the true, value of variable X is substituted
to variable Z.
X = 5;
Vista de pagina 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 55 56

Comentarios a estos manuales

Sin comentarios