User Guide

558 FLVPlayback Component (Flash Professional Only)
Description
Property; a Boolean value that, if true, causes the FLV file to rewind to Frame 1 when play
stops, either because the player reached the end of the stream or the
stop() method was
called. This property is meaningless for live streams. The default value is
true.
Example
The following example sets the autoRewind property to false to prevent the FLV file from
automatically rewinding when it finishes playing.
Drag an FLVPlayback component to the Stage, and give it an instance name of
my_FLVPlybk. Then add the following code to the Actions panel on Frame 1 of the
Timeline:
/**
Requires:
- FLVPlayback component in the Library
*/
my_FLVPlybk.autoRewind = false;
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
water.flv";
FLVPlayback.autoSize
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.autoSize
Description
Property; a Boolean value that, if true, causes the video to size automatically to the
dimensions of the source FLV file. If this property is set from
false to true after an FLV file
has been loaded, the automatic resizing starts immediately. The default value is
false.