Importing And Modifying Flash Video Files - Adobe 38039481 - Flash CS3 Professional User Manual

User guide
Table of Contents

Advertisement

Controlling external video playback using ActionScript
using the
NetConnection
You can use video behaviors (prewritten ActionScript scripts) to control video playback.
Controlling video playback in the Timeline
For video tutorials about working with video in Flash, see the following:
• Using video in Flash:
www.adobe.com/go/vid0136
• Using Flash Video Encoder:
• Creating content for Adobe After Effects:
For a text tutorial about using video in Flash, see Building a Video Player on the Flash Tutorials page at
www.adobe.com/go/learn_fl_tutorials.
See also
"Import linked QuickTime video files" on page 307
"Importing and modifying Flash Video files" on page 301
"About the FLVPlayback component" on page 322
"Playing back external FLV files dynamically" on page 320
"Control video playback using behaviors" on page 322

Importing and modifying Flash Video files

Import Flash Video files into the library
To import files in the FLV format, use the Import or Import To Library commands or the Import button in the Video
Properties dialog box.
To create your own video player, which dynamically loads FLV files from an external source, place your video inside
a movie clip symbol. When you load FLV files dynamically, adjust the dimensions of the movie clip to match the
actual dimension of the FLV and scale the video by scaling the movie clip.
Note: A best practice is to place video inside a movie clip instance, which gives you the most control over the content. The
video's Timeline plays independently from the main Timeline. You do not have to extend your main Timeline by many
frames to accommodate the video, which can make working with your FLA file difficult.
To import an FLV file into the Library, do one of the following:
• Select File > Import > Import To Library.
• Select any existing video clip in the Library panel, and select Properties from the Library Panel menu. Click
Import. Locate the file to import, and click Open.
Controlling video playback using the Timeline
To control playback of an embedded or linked video file, control the Timeline that contains the video. For example,
to pause a video playing on the main Timeline, you would call a
you can control a video object in a movie clip symbol by controlling the playback of that symbol's Timeline.
and
ActionScript objects.
NetStream
To control video playback, write custom ActionScript.
www.adobe.com/go/vid0138
www.adobe.com/go/vid0139
Play back external FLV files in a Flash document at runtime
action that targets that Timeline. Similarly,
stop()
FLASH CS3
301
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash cs3 professional

Table of Contents