The best way to understand conditional logic is to examine it in the context of a simple application. We will use some of the concepts we've learned to script a project that reacts to user interaction. In our project we will have a MovieClip in the center of the stage that will move based on the user pressing the arrow keys on the keyboard. It's a very simple idea that will clearly demonstrate conditional logic.
|