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

Lesson 8. Using Conditional Logic > Controlling a Script's Flow

Controlling a Script's Flow

Typically, actions in your scripts execute consecutively, from beginning to end—a sequence that represents your script's flow. Using conditional logic, you can control this flow by scripting specific actions to execute only when specific conditions are met or exist in your movie. By implementing conditional logic in your scripts, you give your movie the ability to make decisions and take action based on various conditions you've set, and your movie takes on more dimension as a result. You'll use the conditional statements or phrases described in this lesson to implement conditional logic in your scripts.

If/Then Statements

At the heart of conditional logic is the simple if/then statement. Here's an example:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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