O'Reilly logo

Flash 3D by Chris Jackson, Jim Ver Hague

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4

Programming Depth:

Interactive Movement

The previous chapter explored how animation enhances the illusion of depth. Motion tweens were used in Flash to create parallax scrolling and to simulate camera movements. This chapter explores using ActionScript to add interactivity to your Flash files. ActionScript is Flash’s programming language. It allows you to create a variety of interactions, from simple to complex.

ActionScript uses object-oriented programming (OOP). 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. Each object and class has a unique set of properties ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required