Setbuffertime (Netstream.setbuffertime Method) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

// Move to a location 30 seconds from the beginning of the stream
my_ns.seek(30);
// Move backwards three minutes from current location
my_ns.seek(my_ns.time - 180);
See also
,
time (NetStream.time property)

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
to 15; Flash begins playing the stream only after 15 seconds of data are
numberOfSeconds
buffered.
Availability: ActionScript 1.0; 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.
Parameters
- The number of seconds of data to be buffered before Flash begins
bufferTime:Number
displaying data. The default value is 0.1 (one-tenth of a second).
Example
See the example for
.
NetStream.bufferLength
See also
,
bufferLength (NetStream.bufferLength property)
bufferTime
(NetStream.bufferTime property)
time (NetStream.time property)
public time : Number [read-only]
The position of the playhead, in seconds.
Availability: ActionScript 1.0; Flash Player 7 - Note: This property is also supported in Flash
Player 6 when used with Flash Communication Server. For more information, see the Flash
Communication Server documentation.
NetStream
983

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF