User Guide

Media components (Flash Professional only) 505
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 will trigger the behavior (such as
reaching a specified cue point), select a target object (the media components that will be 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 MX Professional 2004 and are used to control
embedded media components.
To associate a MediaDisplay component with a MediaController component:
1.
Place a MediaDisplay instance and a MediaController instance on the Stage.
2.
Select the MediaDisplay instance and, using the Property inspector, enter the instance name
myMediaDisplay.
3.
Select the MediaController instance that will trigger the behavior.
4.
In the Behaviors panel, click the Add (+) button and select Media > Associate Display.
5.
In the Associate Display window, select myMediaDisplay under _root and click OK.
Note: If you have associated the MediaDisplay component with the MediaController component, you
do not need to associate the MediaController component with the MediaDisplay component.
To associate a MediaController component with a MediaDisplay component:
1.
Place a MediaDisplay instance and a MediaController instance on the Stage.
2.
Select the MediaController instance and, using the Property inspector, enter the instance name
myMediaController.
3.
Select the MediaDisplay instance that will trigger the behavior.
4.
In the Behaviors panel, click the Add (+) button and select Media > Associate Controller.
5.
In the Associate Controller window, select myMediaController under _root and click OK.
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)