ABSTRACT

Audience participation can go beyond passively watching the story to interacting with it and its characters. ActionScript provides the tools to enhance the user experience. This chapter focuses on adding interactivity to the Flash movie. Motion and shape tweens were used in Flash to simulate camera movements and lighting techniques. ActionScript is Flash’s programming language. ActionScript uses object-oriented programming. Objects are the types of data that Flash can store. Examples of objects include graphics, sounds, and text. Objects belong to a larger group called a class. Examples of classes include the MovieClip class, Sound class, and Math class. The chapter highlights the properties associated with a movie clip. Flash is event-driven. Events can be external or internal. External events are the ways that the user interacts with the file. Flash uses an event listener to detect, or “listen” for specific events.