30 Working with Flash Documents
Tweened and frame-by-frame animation is motion that you create by placing graphics on
frames in the Timeline. In tweened animation, you create the beginning and ending frames of
the animation, and Flash creates the intermediary frames. In frame-by-frame animation, you
create graphics for each frame in the animation. See “About tweened animation” on page 248
and “About frame-by-frame animation” on page 249.
Behaviors are prewritten ActionScript scripts that you add to an object to control that object.
Behaviors let you add the power, control, and flexibility of ActionScript coding to your
document without having to create the ActionScript code. You can use behaviors to control
movie clips and video and sound files. See the following sections:
■ “Controlling instances with behaviors” on page 94.
■ “Controlling video playback using behaviors” on page 302.
■ “Controlling sound playback using behaviors” on page 318.
In screen-based documents, you can use behaviors to control screens. See “Creating controls
and transitions for screens with behaviors (Flash Professional only)” on page 353.
About components
Components are movie clips with parameters that let you modify their appearance and
behavior. A component can provide a wide range of functionality. A component can be a
simple user interface control, such as a radio button or a check box, or it can be a complicated
control element, such as a media controller or a scroll pane. A component can even be
nonvisual, such as the focus manager that lets you control which object receives focus in an
application.
Components let you separate coding and design. They also let you reuse code, and download
components created by other developers. For more information, see “Introduction” in Using
Components.
NOTE
You can use ActionScript to create complex or customized interactivity. See Chapter 2,
“Writing and Editing ActionScript 2.0,” in Learning ActionScript 2.0 in Flash.