P. 1
Using Adobe Flash CS4 Professional

Using Adobe Flash CS4 Professional

4.87

|Views: 8,607|Likes:
Published by leslewis65

More info:

Published by: leslewis65 on Nov 11, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/23/2013

pdf

text

original

Flash provides several methods by which you can import video into Flash, incorporate the video into your Flash
document, and play it back for users.

Stream video using Flash Media Server

In streaming, each Flash client opens a persistent connection to the Flash Media Server, and a controlled relationship
exists between the video being delivered and the client interaction. Flash Media Server uses bandwidth detection to
deliver video or audio content based on the user’s available bandwidth. This lets you provide different content for users
based on their ability to easily access and download content. For example, if a user with a dial-up modem accesses your
video content, you can deliver an appropriately encoded file that doesn’t require too much bandwidth.

Flash Media Server also provides you with quality of service metrics, detailed tracking and reporting statistics, and a
range of interactive features designed to enhance the video experience. As with progressive downloading, the video
content (FLV or F4V file) is kept external to the other Flash content and the video playback controls. This lets you
easily add or change content without having to republish the SWF file.

Streaming video with Flash Media Server or FVSS provides the following advantages over embedded and progressively
downloaded video:

•Video playback starts sooner than it does using other methods of incorporating video.

•Streaming uses less of the client's memory and disk space, because the clients don’t need to download the entire file.

•Network resources are used more efficiently, because only the parts of the video that are viewed are sent to the

client.

•Delivery of media is more secure, because media is not saved to the client’s cache when streamed.

•Streaming video provides better tracking, reporting, and logging ability.

•Streaming lets you deliver live video and audio presentations, or capture video from a web cam or digital video

camera.

•Flash Media Server enables multiway and multiuser streaming for video chat, video messaging, and video
conferencing applications.

•By using server-side scripting to control video and audio streams, you can create server-side play lists, synchronized
streams, and more intelligent delivery options based on the client’s connection speed.

To learn more about Flash Media Server, see www.adobe.com/go/flash_media_server.

To learn more about FVSS, see www.adobe.com/go/fvss.

285

USING FLASH CS4 PROFESSIONAL

Video

See also

“The FLVPlayback component” on page294

Progressively download video using a web server

Progressive downloading lets you use either the FLVPlayback component or ActionScript that you write to load
external FLV or F4V files into a SWF file, and play them back at runtime.

Because the video content is kept external to the other Flash content and the video playback controls, it’s relatively easy
to update video content without republishing the SWF file.

Progressive downloading provides the following advantages over embedded video:

•During authoring, publish only the SWF file interface to preview or test part or all of your Flash content. This results
in faster preview times and quicker turnaround on iterative experimentation.

•During delivery, video begins playing as soon as the first segment is downloaded and cached to the local computer’s

disk drive.

•At runtime, video files are loaded from the computer’s disk drive into the SWF file, with no limitation on file size
or duration. No audio synchronization issues or memory restrictions exist.

•The frame rate of the video file can be different from the frame rate of the SWF file, allowing for greater flexibility
in authoring your rich media content.

Import video for progressive download or streaming

Import a video file that is already deployed to a web server or a Flash Media Server or Flash Video Streaming Service
(FVSS), or select a video file that is stored locally on your computer, and upload the video file to the server after
importing it to your FLA file.

1Select File> Import> Import Video to import the video clip into the current Flash document.

2Select the video clip to import. You can select either a video clip located on your local computer, or enter the URL
of a video already uploaded to a web server or Flash Media Server:

•To import video located on your local computer, select Load external video with playback component.

•To import video already deployed to a web server, Flash Media Server, or FVSS, select Already deployed to a web
server, Flash Video Streaming Service, or Stream From Flash Media Server, and enter the URL of the video clip.

Note: The URL for a video clip located on a web server will use the http communication protocol. The URL for a video
clip located on a Flash Media Server or Flash Streaming Service will use the RTMP communication protocol.

3Select a skin for your video clip. You can choose to:

•Not use a skin with the FLVPlayback component by selecting None.

•Select one of the predefined FLVPlayback component skins. Flash copies the skin into the same folder as the FLA file.

Note: FLVPlayback component skins are slightly different depending on whether you are creating an AS2- or AS3-based
Flash document.

•Select a custom skin of your own design by entering the URL of the skin on the web server.

4The Video Import Wizard creates an FLVPlayback video component on the Stage that you can use to test video
playback locally. When you finish creating your Flash document and want to deploy the SWF file and video clip,
upload the following assets to the web server or Flash Media Server hosting your video:

•If using a local copy of the video clip, upload the video clip (which is located in the same folder as the source video
clip you selected with a .flv extension)

286

USING FLASH CS4 PROFESSIONAL

Video

Note: Flash uses a relative path to point to the FLV or F4V file (relative to the SWF file), letting you use the same directory
structure locally that you use on the server. If the video was previously deployed to your FMS or the FVSS hosting your
video, you can skip this step.

•The video skin (if you chose to use a skin)

To use a predefined skin, Flash copies the skin into the same folder as the FLA file.

•The FLVPlayback component

To edit the FLVPlayback component’s URL field to that of the web server or Flash Media Server that you are uploading
the video to, use the Component inspector (Windows> Component inspector) to edit the contentPath parameter.

See also

“Specify the contentPath or source parameter” on page295

“The FLVPlayback component” on page294

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->