Chapter 7. Controlling and Displaying Graphics

ActionScript’s fine-tuned ability to create, control, and display graphical elements on the fly and in response to events is what makes Flash truly powerful. You can create and manipulate many objects such as movie clips, buttons, images, and even shapes and masks. Properties that control how these objects appear, such as position, scale, rotation, transparency, color, and blending effects, can all be changed with ActionScript. You can even have control over individual pixels in bitmap images. As a result of these abilities, you can create arcade-style interactivity with characters changing in response to viewer input or conditions, like a game of Tetris where the objects move according to keyboard ...

Get Flash CS4 Professional Advanced for Windows and Macintosh: Visual QuickPro Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.