User Guide

Using media components (Flash Professional only) 841
With the file type set to FLV, you’ll notice a Milliseconds option and (if Milliseconds is
unselected) a Frames Per Second (FPS) pop-up menu. When Milliseconds is selected, the
FPS control is not visible. In this mode, the time displayed in the playbar at runtime is
formatted as HH:MM:SS.mmm (H = hours, M = minutes, S = seconds, m = milliseconds),
and cue points are set in seconds. When Milliseconds is unselected, the FPS control is
enabled and the playbar time is formatted as HH:MM:SS.FF (F = frames per second),
while cue points are set in frames.
Controlling media components by using behaviors
Behaviors are prewritten ActionScript scripts that you add to an instance, such as a
MediaDisplay component, 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 yourself.
To control a media component with a behavior, you use the Behaviors panel to apply the
behavior to a given media component instance. You specify the event that triggers the
behavior (such as reaching a specified cue point), select a target object (the media components
that are affected by the behavior), and, if necessary, select settings for the behavior (such as the
movie clip within the media to navigate to).
The following behaviors are packaged with Flash Professional 8 and are used to control
embedded media components.
NOTE
You can set the FPS value only by using the Component inspector. Setting an fps
value by using ActionScript has no effect and is ignored.
Behavior Purpose Parameters
Associate
Controller
Associates a MediaController
component with a MediaDisplay
component
Instance name of target
MediaController components
Associate Display Associates a MediaDisplay component
with a MediaController component
Instance name of target
MediaController components
Labeled Frame
CuePoint
Navigation
Places an action on a MediaDisplay or
MediaPlayback instance that tells an
indicated movie clip to navigate to a
frame with the same name as a given
cue point
Name of frame and name of
cue point (the names should be
equal)
Slide CuePoint
Navigation
Makes a slide-based Flash document
navigate to a slide with the same name
as a given cue point
Name of slide and name of cue
point (the names should be
equal)