User Guide

524 FLVPlayback Component (Flash Professional Only)
Streaming FLV files from a FCS
If you use a FCS to stream FLV files to the FLVPlayback component, you must add the
main.asc file to your Flash Communication Server FLV application. You can find the main.asc
file in your Flash 8 application folder under Flash 8/Samples and Tutorials/Samples/
Components/FLVPlayback/main.asc.
To set up your FCS for streaming FLV files:
1. Create a folder in your FCS application folder, and give it a name such as my_application.
2. Copy the main.asc file into the my_application folder.
3. Create a folder named streams in the my_application folder.
4. Create a folder named _definst_ inside the streams folder.
5. Place your FLV files in the _definst_ folder.
To access your FLV files on the Flash Communication Server, use a URL such as rtmp://
my_servername/my_application/stream.flv.
For more information on administering the Flash Communication Server, including how to
set up a live stream, see the FCS documentation at www.macromedia.com/support/
documentation/en/flashcom/. When playing a live stream with FCS, you need to set the
FLVPlayback property
isLive to true. For more information, see FLVPlayback.isLive
on page 601.
Customizing the FLVPlayback
component
This section explains how to customize the FLVPlayback component. For a comprehensive
overview of customizing components, which includes terminology and the basic concepts of
working with styles, skins, and themes, see “Customizing Components” in Using Components.
Most of the methods used to customize other components, however, do not work with the
FLVPlayback component. To customize the FLVPlayback component, use only the
techniques described in this section.
You have the following choices for customizing the FLVPlayback component: select a
predesigned skin, skin FLV Playback Custom UI components individually, or create a new
skin. You can also use FLVPlayback properties to modify the behavior of a skin.
NOTE
You must upload your skin SWF file to the web server along with your application SWF
file for the skin to work with your FLVPlayback component.