Configure the FLVPlayback component

  1. With the component selected, open the Property inspector (Window > Properties > Properties) and enter an instance name.
  2. Select Parameters in the Property inspector or open the Component inspector (Window > Components).
  3. Enter values for parameters or use default settings.

    For each FLVPlayback component instance you can set the following parameters in the Property inspector or in the Component inspector:

    Note: In most instances, it is not necessary to alter the settings in the FLVPlayback component unless you want to change the appearance of a video skin. The Video Import wizard sufficiently configures the parameters for most deployments.
    autoPlay

    Boolean value that determines how to play the FLV. If true, the FLV plays immediately when it is loaded. If false, loads the first frame and pauses. The default value is true.


    autoRewind

    Boolean value that determines whether the FLV is automatically rewound. If true, the Video component automatically rewinds the FLV to the beginning when the playhead reaches the end or when the user clicks the stop button. If false, the Video component does not automatically rewind the FLV. The default value is true.


    autoSize

    Boolean value that, if true, resizes the component at runtime to use the source FLV dimensions. The default value is false.

    Note: The encoded frame size of the FLV is not the same as the default dimensions of the FLVPlayback component.

    bufferTime

    Number of seconds to buffer before beginning playback. The default value is 0.


    contentPath

    String that specifies the URL to an FLV or to an XML file that describes how to play the FLV. Double-click the Value cell for this parameter to activate the Content Path dialog box. The default is an empty string. If you do not specify a value for the contentPath parameter, nothing happens when Flash executes the FLVPlayback instance.


    isLive

    Boolean value that, if true, specifies that the FLV is streaming live from FMS. The default value is false.


    cuePoints

    A string that specifies the cue points for the FLV. Cue points allow you to synchronize specific points in the FLV with Flash animation, graphics, or text. The default value is an empty string.


    maintainAspectRatio

    A Boolean value that, if true, resizes the video player in the FLVPlayback component to retain the source FLV aspect ratio; the source FLV is still scaled and the FLVPlayback component itself is not resized. The autoSize parameter takes precedence over this parameter. The default value is true.


    skin

    A parameter that opens the Select Skin dialog box and allows you to choose a skin for the component. The default value is None. If you choose None, the FLVPlayback instance does not have control elements that allow the user to play, stop, or rewind the FLV, or take other actions that the controls make possible. If the autoPlay parameter is set to true, the FLV plays automatically. For more information, see “Customizing the FLVPlayback component” in Using ActionScript 3.0 Components or ActionScript 2.0 Components Language Reference.


    totalTime

    Total number of seconds in the source FLV. The default value is 0. If you use progressive download, Flash uses this number if it is set to a value greater than zero (0). Otherwise, Flash tries to take the time from metadata.

    Note: If you’re using FMS or FVSS, this value is ignored; the total time of the FLV is taken from the server.

    volume

    A number from 0 to 100 that represents the percentage of maximum volume at which to set the volume.


  This page on the Web