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

Chapter 9. Using Conditional Logic > TURNING POWER ON/OFF

TURNING POWER ON/OFF

Sometimes certain actions should be executed only if something is turned on. A real-world example of this would be a car: Try driving one without starting it, and chances are, you won’t get far. That car is designed so that it will only run after you’ve given it power by turning the ignition. In similar fashion, something can happen in your movie to trigger your script’s functionality (turn it on).

Think of it this way: Events power scripts by triggering actions. The scripts themselves represent the mechanism, or “machine,” for accomplishing various tasks. Conditional logic can be used as an On/Off switch in your scripts, allowing actions to execute, as the result of an event, only under certain circumstances.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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