150
Client-Side Information Objects
// Attempt to open connection.
nConn = new NetConnection();
nConn.connect("rtmp://myServer.myDomain.com/myRTMPapp");
The following tables show the default properties of each information object and the
circumstances under which
onStatus
is invoked with each information object. When
referring to the tables, note the following:
■
By default, every information object has a
code
property containing a string that describes
the result of the
onStatus
handler, and a
level
property containing a string that is either
"status"
,
"warning"
, or
"error"
. Some information objects have additional default
properties, which provide more information about the reason
onStatus
was invoked.
These properties are noted as footnotes in the tables.
■
For NetStream, NetConnection, and remote shared objects, which are available only with
Flash Media Server, the properties of the information objects are determined by the
methods available in server applications and should be documented by the developers of
your server-side application. The properties listed here are the ones available by default;
that is, these are the properties available if your server-side application doesn’t specify
other information object properties. For information on using Flash with an application
server, see
Using Flash Remoting
which you can download from the
Macromedia website
.
■
For objects that do not require Flash Media Server (Camera, Microphone,
LocalConnection, and local shared objects), the properties listed here are the only ones
available to
onStatus
, and no server-side application is required.