Determining Conditions

Your project may contain numerous conditions you can use to control the way your script works or interacts with the user. Although a condition can take many forms, at its core it represents a circumstance that is either true or false. Conditional statements look for common conditions like these:

  • One object comes into contact with another object

  • Something is on or off

  • A movie clip's position, size, or other property is greater than, less than, or equal to another value

  • The user has a specific interaction with the mouse or keyboard

  • Text or numeric values are greater than, less than, or equal to another value

  • Any combination of the conditions above

Macromedia Flash MX 2004 ActionScript(c) Training from the Source
Macromedia Flash MX 2004 ActionScript: Training from the Source
ISBN: 0321213432
EAN: 2147483647
Year: 2005
Pages: 182

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: