< Day Day Up >
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
< Day Day Up >
.
< Day Day Up >
Determining Conditions
Your project may contain numerous conditions you can use to control the way your. circumstance that is either true or false. Conditional statements look for
common conditions like these:
• One object comes into contact with another object