July 2008
Intermediate to advanced
160 pages
2h 35m
English
Button AND MovieClip OBJECTS HAVE been completely overhauled in ActionScript 3. Both objects are now part of the display list, inheriting properties, methods, and events from all display classes in the inheritance chain. Buttons and MovieClips are both InteractiveObjects, but it’s important to keep in mind that only the MovieClip class is a DisplayObjectContainer. In AS3 a MovieClip is essentially a Sprite with a timeline, and the Button class has been renamed and replaced with the SimpleButton class.
In this chapter, you will learn the differences between AS2 and AS3 in how to handle mouse events, drag a movie clip, and work with depth in the new display-list architecture.
Button and MovieClip symbol ...
Read now
Unlock full access