Controlling video playback using behaviors
303
The following behaviors come with Flash Basic 8 and Flash Professional 8, and are used to
control embedded video:
For lessons on working with video, see “Tutorial: Building a Video Player (Flash Professional
only)” in Getting Started with Flash.
To add and configure a behavior:
1.
Select the movie clip that will trigger the behavior.
2.
In the Behaviors panel (Window > Behaviors), click the Add (+) button, and select the
desired behavior from the Embedded Video submenu.
3.
In the dialog box that appears, select the video you want to control with the behavior.
4.
Select a Relative or Absolute path. For more information, see
“Using absolute and relative
target paths” on page 39
.
5.
If required, select settings for the behavior parameters and click OK.
Default event and actions for the behavior appear in the Behaviors panel.
6.
In the Behaviors panel under Event, click On Release (the default event) and select a mouse
event from the menu. If you want to use the On Release event, leave the option unchanged.
Behavior
Purpose
Parameters
Play Video
Plays a video in the current
document.
Instance name of target video
Stop Video
Stops the video.
Instance name of target video
Pause Video
Pauses the video.
Instance name of target video
Rewind Video
Rewinds the video by the specified
number of frames.
Instance name of target video
Number of frames
Fast Forward Video Fast-forwards the video by the
specified number of frames.
Instance name of target video
Number of frames
Hide Video
Hides the video.
Instance name of target video
Show Video
Shows the video.
Instance name of target video
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...