Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > NetStream > setBufferTime (NetStream.setBufferTime method) | |||
public setBufferTime(bufferTime:Number) : Void
Specifies how long to buffer messages before starting to display the stream. For example, if you want to make sure that the first 15 seconds of the stream play without interruption, set bufferTime to 15; Flash begins playing the stream only after 15 seconds of data are buffered.
Availability: ActionScript 1.0; Flash Player 7 - Note: This method is also supported in Flash Player 6 when used with Flash Media Server. For more information, see the Flash Media Server documentation.
bufferTime:Number - The number of seconds of data to be buffered before Flash begins displaying data. The default value is 0.1 (one-tenth of a second).
See the example for NetStream.bufferLength.
bufferLength (NetStream.bufferLength property), bufferTime (NetStream.bufferTime property)
Flash CS3