MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 504

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

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.
Behavior
Associate Controller Associates a MediaController component
Associate Display
Labeled Frame
CuePoint Navigation
Slide CuePoint
Navigation
To associate a MediaDisplay component with a MediaController component:
Place a MediaDisplay instance and a MediaController instance on the Stage.
1.
Select the MediaDisplay instance and, using the Property inspector, enter the instance name
2.
myMediaDisplay.
Select the MediaController instance that will trigger the behavior.
3.
In the Behaviors panel, click the Add (+) button and select Media > Associate Display.
4.
In the Associate Display window, select
5.
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:
Place a MediaDisplay instance and a MediaController instance on the Stage.
1.
Select the MediaController instance and, using the Property inspector, enter the instance name
2.
myMediaController.
Select the MediaDisplay instance that will trigger the behavior.
3.
In the Behaviors panel, click the Add (+) button and select Media > Associate Controller.
4.
In the Associate Controller window, select
5.
Purpose
with a MediaDisplay component
Associates a MediaDisplay component
with a MediaController component
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
Makes a slide-based Flash document
navigate to a slide with the same name as
a given cue point
myMediaDisplay
Parameters
Instance name of target
MediaController components
Instance name of target
MediaController components
Name of frame and name of cue
point (the names should be equal)
Name of slide and name of cue
point (the names should be equal)
under
myMediaController
Media components (Flash Professional only)
and click OK.
_root
under
and click OK.
_root
505

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents