ActionScript 2.0 Components Language Reference |
|
|
|
| FLVPlayback Component > FLVPlayback class > FLVPlayback.autoRewind | |||
Flash Player 8.
Flash Professional 8.
my_FLVPlybk.autoRewind
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.
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";
|
|
|
|