Chapter 6. Working with Display Objects

Display objects are all the visible assets of a Flash application. You can both add and manipulate them at authortime, or at runtime using ActionScript. Determining whether to add an object to the stage at authortime or runtime depends on the dynamics of your application. Basic interface graphics that are consistent throughout an application are easier to add and lay out at authortime. If you need to build a menu based on external information, you must add the buttons at runtime. Regardless of which method you choose, you must control those display objects using ActionScript.

You control display objects with ActionScript by setting their properties, calling their methods, and listening for their events (events ...

Get ActionScript 3.0: Visual QuickStart 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.