64
Client-Side ActionScript Language Reference
The
MovieClip.getNextHighestDepth()
method used in this example requires Flash Player
7 or later. If your SWF file includes a v2 component (version 2 of the Macromedia
Component Architecture), use the DepthManager class from the component framework
instead of the
MovieClip.getNextHighestDepth()
method.
See also
Microphone class
,
NetStream class
,
NetStream.attachAudio()
, Sound class in
ActionScript 2.0 Language Reference
NetConnection class
Availability
■
Flash Player 6.
The NetConnection class manages a bidirectional connection between Flash Player and a
server, which lets you connect to Flash Remoting or to Flash Media Server. Flash Media
Server enables you to share audio, video, and data using the Macromedia Real-Time
Messaging Protocol (RTMP).
For information on using Flash with an application server, see
http://www.macromedia.com/
go/flashmediaserver_desdev_en
. For information on using Flash with Flash Media Server, see
the following entries in addition to NetConnection:
■
NetStream class
—for any RTMP communication
■
Camera class
—for capturing and transmitting video
■
Microphone class
—for capturing and transmitting audio
■
SharedObject class
—for sharing data
■
Video class
—for displaying video
For information on creating a NetConnection object, see
“Constructor for the
NetConnection class” on page 65
.
NO
TE
In Flash Player 7 and later, you can use this class to open a connection and play FLV
files without Flash Media Server. For more information, see the Netconnection class
entry in
ActionScript 2.0 Language Reference
.