NetStream
965
NetConnection constructor
public NetConnection()
Creates a NetConnection object that you can use in conjunction with a NetStream object to
play back local streaming video (FLV) files. After creating the NetConnection object, use
NetConnection.connect()
to make the actual connection.
Playing external FLV files provides several advantages over embedding video in a Flash
document, such as better performance and memory management, and independent video and
Flash frame rates. The NetConnection class provides the means to play back streaming FLV
files from a local drive or HTTP address.
Availability:
ActionScript 1.0; Flash Player 7 - Note: This class is also supported in Flash
Player 6 when used with Flash Communication Server. For more information, see your Flash
Communication Server documentation.
Example
See the example for
NetConnection.connect()
.
See also
connect (NetConnection.connect method)
,
attachVideo (Video.attachVideo
method)
,
NetStream
NetStream
Object
|
+-NetStream
public dynamic class
NetStream
extends Object
The NetStream class provides methods and properties for playing Flash Video (FLV) files
from the local file system or an HTTP address. You use a NetStream object to stream video
through a NetConnection object. Playing external FLV files provides several advantages over
embedding video in a Flash document, such as better performance and memory management,
and independent video and Flash frame rates. This class provides a number of methods and
properties you can use to track the progress of the file as it loads and plays, and to give the user
control over playback (stopping, pausing, and so on).
Availability:
ActionScript 1.0; Flash Player 7
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...