User Guide

510 FLVPlayback Component (Flash Professional Only)
FLVPlayback component parameters
For each instance of the FLVPlayback component, you can set the following parameters in the
Component inspector or the Property inspector:
autoPlay A Boolean value that determines how to play the FLV file. If true, the
component plays the FLV file immediately when it is loaded. If
false, the component loads
the first frame and pauses. The default value is
true for the default video player (0) and false
for others. For more information about using multiple video players in a single FLVPlayback
instance, see “Playing multiple FLV files” on page 521.
autoRewind A Boolean value that determines whether the FLV file will rewind
automatically when it finishes playing. If
true, the FLVPlayback component automatically
rewinds the FLV file to the beginning when the playhead reaches the end or when the user
clicks the Stop button. If
false, the component stops play on the last frame of the FLV file
and does not rewind automatically. The default value is
true.
autoSize
A Boolean value that, if true, resizes the component at runtime to use the source
FLV file dimensions. These dimensions are encoded in the FLV file and are different than the
default dimensions of the FLVPlayback component. The default value is
false. For more
information, see
FLVPlayback.autoSize on page 558.
bufferTime The number of seconds to buffer the FLV file in memory before beginning
playback. This parameter affects streaming FLV files, which are buffered in memory but not
downloaded. For an FLV file that is progressively downloaded over HTTP, there is little
advantage to increasing this value, although it can improve viewing a high-quality video on an
older, slower computer. The default value is 0.1 For more information, see
FLVPlayback.bufferTime on page 571.
contentPath A string that specifies the URL to an FLV file or an XML file that describes
how to play one or more FLV files. You can specify a path on your local computer, an HTTP
path, or a Real-Time Messaging Protocol (RTMP) path. Double-click the value cell for this
parameter to open 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. For more information, see “Specifying the contentPath
parameter” on page 512.
cuePoints A string that describes the cue points for the FLV file. Cue points allow you to
synchronize specific points in the FLV file with Flash animation, graphics, or text. The default
value is an empty string. For more information, see “Using cue points” on page 513.
NOTE
Setting this parameter does not guarantee that a certain amount of the FLV file will
download before playback begins.