Flash's ActionScript programming language enables Flash designers to step up the level of interactivity and complexity of their projects. With ActionScript 3 techniques, you can add unique functionality that enhances your visual interfaces.
Over six lessons, you'll work hands-on with ActionScript 3 to build a wide range of fun, functional, and attractive applications. You'll learn the ins and outs of writing error-free syntax while creating projects aimed at your design side. Each project builds in creativity and complexity.
Projects include an ActionScript-controlled image layout, a user-controlled character, a drag-and-drop puzzle game, a conversion calculator, and even a dynamic drawing interface. You'll be expected to combine your design sense with ActionScript code to build creative, interactive applications.
The course starts off with a quick review of the goals of ActionScript as a programming language and some of the great things it can do for user interactivity. Then you'll delve into the basics of ActionScript 3.0 syntax, starting with objects, classes, and controlling the visual properties of Movie Clips. You'll also learn how to troubleshoot your code with a wide range of Flash tools. In the exercise, you'll design a layout of images that is controlled entirely from ActionScript.
Lecture Two hands control to the user: You'll learn how to add interactivity to your Flash movies based on mouse actions from the user. You'll learn how to control objects based on MouseEvents like clicks, movements, and locations. The exercise will challenge you to develop a character whose movements can be controlled by user mouse events.
Movie Clip methods in ActionScript enable many of the cool interactions you see in Flash projects, especially drag-and-drop interactions. Lecture Three will show you how to create those interactions through code that manages the Movie Clip, manages the Timeline, and uses event listeners to manage the interaction. You'll learn how to apply this functionality to games and user interfaces. In the exercise, you will design and develop a complete drag-and-drop puzzle game.
Complex tasks in ActionScript revolve around the processing and flow of information. Variables are the key to information management, as they are like the "memory" of ActionScript. You'll learn in Lecture Four how to store and process information with variables, creating expressions with variables and operators and using conditional statements to control logic. These aspects of ActionScript culminate in a scoring system that you will create for your game or character.
Text is an integral part of any Flash project and can add information and input to interactive interfaces. Lecture Five explores the range of text options in Flash and shows you how to control Dynamic text and Input text with ActionScript for dynamic display and user interaction. You'll use Dynamic text and Input text in an exercise that challenges you to create a conversion calculator of your choice.
By Lecture Six, you have already learned how to create responsive, interactive environments with graphics, text, and ActionScript code. Your final challenge will be to create dynamic graphics: Graphics that are drawn based on current information or user input. You'll learn the methods and parameters for creating dynamic graphics and you'll learn how to manage dynamic graphics with coordinates and stacking order. Your final exercise is to create a fully user-controlled drawing application.