NetStream
983
// 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
numberOfSeconds
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 Communication Server. For more information, see the Flash
Communication Server documentation.
Parameters
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).
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.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...