Your project may well contain numerous conditions you can take advantage of in your scripting to control the way it 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 . The following are some of the common conditions that conditional statements look for:

  • If one object comes in contact with another object

  • If something is on or off

  • If a movie clip's position, size, or any other property is greater than, less than, or equal to another value.

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

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

  • Any combination of the above

Macromedia Flash MX ActionScripting Advanced. Training from the Source
Macromedia Flash MX ActionScripting: Advanced Training from the Source
ISBN: 0201770229
EAN: 2147483647
Year: 2002
Pages: 161 © 2008-2017.
If you may any questions please contact us: