For lessons on working with video, select Help > How Do I > Quick Tasks > Create a Document
or Import and Edit Video.
To add and configure a behavior:
Select the movie clip that will trigger the behavior.
1.
In the Behaviors panel (Window > Development Panels > Behaviors), click the Add (+) button
2.
and select the desired behavior from the Embedded Video submenu.
In the dialog box that appears, select the video you want to control with the behavior.
3.
Select a Relative or Absolute path. For more information, see
4.
paths" on page
If required, select settings for the behavior parameters and click OK.
5.
Default event and actions for the behavior appear in the Behaviors panel.
In the Behaviors panel, under Event click On Release (the default event) and select a mouse
6.
event from the menu. If you want to use the On Release event, leave the option unchanged.
About controlling video playback using the Timeline
You can control playback of an embedded or linked video file by controlling the Timeline that
contains the video. For example, to pause a video playing on the main Timeline, you would call a
action that targets that Timeline. Similarly, you can control a video object in a movie clip
stop()
symbol by controlling the playback of that symbol's Timeline.
You can apply the following actions to imported video objects in movie clips:
toggleHighQuality
ifFrameLoaded
the Video object to a movie clip. For more information, see "Video class" in Flash ActionScript
Language Reference.
You can also use ActionScript to show a live video stream from a camera. First, use the New Video
Object in the Library panel to place a Video object on the Stage. Then use
to attach the video stream to the Video object. For more information, see
in Flash ActionScript Language Reference.
Exporting FLV files from video-editing applications
(Flash Professional only)
If you have Macromedia Flash MX Professional 2004 and QuickTime 6.1.1 installed on your
computer, you can use the FLV Export plug-in to export FLV files from supported video-editing
applications. You can then import these FLV files directly into Flash to use in your Flash
documents. In addition, you can dynamically play back external FLV files in Flash documents at
runtime. See
"About playing back external FLV files dynamically" on page
192
Chapter 10: Working with Video
23.
,
stopAllSounds
, and
. To apply actions to a Video object, you must first convert
onMouseEvent
,
getURL, FScommand
"Using absolute and relative target
goTo
,
,
loadMovie
unloadMovie
Video.attachVideo
Video.attachVideo()
189.
,
,
,
play
stop
,
Need help?
Do you have a question about the FLASH MX 2004-USING FLASH and is the answer not in the manual?
Questions and answers