O'Reilly logo

Fundamentals of ActionScript 3.0: Develop and Design by Doug Winnie

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

2. Dynamically Adding Objects to the Stage

Now that you know how to access and manipulate objects that are already on the Stage, you’ll learn how to add objects dynamically from the Library using ActionScript.

The difference with this method is that the objects you are going to manipulate are not placed on the Stage in the Flash application, also called at authortime. Instead, you’ll use objects that are in the Library, and after the application is compiled into a SWF, you’ll dynamically update the Stage using ActionScript with objects in the Library.

Creating Named Library Assets

If you remember, in order to access the properties or attributes of items on the Stage, you needed to have an instance name that ActionScript could reference. When ...

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