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

Chapter 9. Using Conditional Logic > REACTING TO USER INTERACTION

REACTING TO USER INTERACTION

Users will interact with your movie in two primary ways—via mouse or keyboard, either of which can be used any number of ways. Users can interact with your movie by moving the mouse around the screen, pressing and releasing buttons, and so forth. Using conditional logic, you can script your movie to react in various ways based on the user’s interaction with it.

In the following exercise, we’ll add functionality to our project that allows the user to press the Space bar on the keyboard to apply “thrusters” to move the rocket upward at a quicker-than-normal pace.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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