MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Specifiche Pagina 253

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 369
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 252
62
Example
The following example writes data about the connection to a log file.
reconnection.onStatus = function(info)
{
_root.log += "Recording stream status.\n";
_root.log += "Event: " + info.code + "\n";
_root.log += "Type: " + info.level + "\n";
_root.log += "Message:" + info.description + "\n";
}
See also
NetConnection.call, NetConnection.close, NetConnection.connect
NetConnection.uri
Availability
Flash Player 6.
Flash Communication Server MX.
Usage
myConnection.uri
Description
Read-only property; a string representing the target URI that was passed in with
NetConnection.connect. If NetConnection.connect hasnt yet been called for myConnection,
this property is undefined.
See also
NetConnection.connect
NetStream (object)
The NetStream object opens a one-way streaming connection between the Flash Player and the
Flash Communication Server through a connection made available by a NetConnection object. A
NetStream object is like a channel inside a NetConnection object; this channel can either publish
audio and/or video data, using
NetStream.publish, or subscribe to a published stream and
receive data, using
NetStream.play. You can publish or play live (real-time) data and play
previously recorded data.
You can also use NetStream objects to send text messages to all subscribed clients (see
NetStream.send).
Vedere la pagina 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 368 369

Commenti su questo manuale

Nessun commento