Netstream.setbuffertime() - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

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 the Flash Communication Server documentation.
Usage
my_ns.setBufferTime(numberOfSeconds:Number) : Void
Parameters
numberOfSeconds
data. The default value is 0.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
are buffered.
Example
See the example for NetStream.bufferLength.
See also
NetStream.bufferTime
The number of seconds of data to be buffered before Flash begins displaying
to 15; Flash begins playing the stream only after 15 seconds of data
NetStream.setBufferTime()
641

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx

Table of Contents