␡
- Accessing class methods
- Controlling the z-index of display objects
- Mouse events
- Dynamic library items
< Back
Page 4 of 4
Like this article? We recommend
Dynamic library items
Problem: Movie clips from the library can no longer be added using the attachMovie method.
Solution: The new display list architecture is like a DOM-based architecture in which you add and remove children from a list of items.
Code: The ActionScript 3 addChild method replaces the attachMovie method from ActionScript 2:
addChild(libraryMovieClipName);
< Back
Page 4 of 4