Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As you learned in the preceding chapter, Macromedia Flash MX’s actions attached to frames give you control over a movie’s playback, but actions attached to objects let you put viewers in the driver’s seat, giving them the power to interact directly with a Flash movie. You can create ActionScripts for two kinds of objects: buttons and movie clips.
Buttons can be simple, displaying static graphics that change slightly as you roll over them and click them. Or buttons can be wild and animated, using movie clips and sounds.