• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Using Conditional Logic > DETERMINING CONDITIONS

DETERMINING CONDITIONS

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


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint