The FLVPlayback component displays the video in the template (see Figure 4). You will select the FLVPlayback instance on the Stage to change the layout and parameters of the video. You can change the following items to customize the display:

Figure 4. FLVPlayback component instance and its parameters in the Component inspector
The video component in Figure 4 appears as a black rectangle with the Flash video icon in the center. When you select the instance, a blue bounding box surrounds it. The parameters for the video component can be set in the Property inspector or in the Component inspector. Also notice that the custom video controls (play, stop, seek bar, volume bar, mute button, and full-screen button) are separate controls and are not attached to the FLVPlayback instance. (You will explore changes to these controls in the section "Modifying the buttons and video controls".)
To change the video and FLVPlayback parameters:
To change the video, click the source field to select it and then click it again to launch the Content Path dialog
box (see Figure 5).

Figure 5. Enter the path to your FLV file in the Content Path dialog box
Type in the path to the FLV file that you want to view or click the folder icon in the top right of the dialog box to browse for the file. Usually you will store the FLV file in a relative path near the SWF file that displays it. However, if you are streaming the video using Flash Media Server, you will enter an absolute path to the file on the server.
Notice that you have an option to match the FLV dimensions. This is a great feature that lets the video component size itself to the target video. If you enter an absolute path into the field, the Download FLV for Cue Points and Dimensions check box becomes active.
For more information on FLVPlayback component parameters, refer to the Flash CS3 LiveDocs (Using ActionScript 3.0 Components > Using the FLVPlayback component > FLVPlayback component parameters).
Note that the FLVPlayback component uses embedded metadata in the FLV file to determine the size and duration of the video for automated features such as "Match source FLV dimensions." If you are trying to use an older FLV file that does not contain this metadata, you may notice that some of these features do not work. If this is the case, your best bet is to encode the original video to the FLV format again using the Flash CS3 Video Encoder or use a utility to embed the metadata in the older FLV file.
To change the layout of the video component, you can either let the component automatically size itself to the target FLV file or you can manually change the size the component on the Stage.
If you want the component to size itself automatically, follow the steps in
the previous section for assigning the source parameter and make sure you select the Match Source FLV Dimensions check box.
Selecting this option will cause the video component to automatically match
your FLV file on the Stage, making it easy for you to position the video as
desired.
To size the video instance manually, follow these steps:
scaleMode field to maintainAspectRatio in the parameter list. These parameters affect the component when the SWF
file is playing. Turning off the parameters enables the video to be
displayed at any size you choose. scaleMode parameter to adjust how
the video appears in the custom size view.To move the video to a new location, follow these steps: