NetStream.setBufferTime()

Availability

Flash Player 7.

Note: This method is also supported in Flash Player 6 when used with Flash Communication Server. For more information, see your Flash Communication Server documentation.

Usage

my_ns.setBufferTime(numberOfSeconds)

Parameters

numberOfSeconds The number of seconds of data to be buffered before Flash begins displaying data. The default value is .1 (one-tenth of a second).

Description

Method; 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 numberOfSeconds to 15; Flash begins playing the stream only after 15 seconds of data are buffered.

See also

NetStream.bufferTime