MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Dokumentacja Strona 253

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 369
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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).
Przeglądanie stron 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 368 369

Komentarze do niniejszej Instrukcji

Brak uwag