
Button Components
Chapter 15
454
Figure 15.28 Drag an instance of the button
component from the Components panel to the Stage
to add it to your movie.
Figure 15.29 To target a component with
ActionScript, you must give it an instance
name. Note that the Object Type menu in the
Property inspector reveals that the Button
component is actually a type of movie clip.
Button Components
Flash contains a selection of ready-made
user interface (UI) elements. ey can be
found in the Components panel and include
items such as RadioButton and ComboBox
( for drop-down menus). Scripting the click-
interactivity for button components and
regular button symbol