MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Manuale Utente Pagina 66

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 80
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 65
66
Stream.bufferTime
Availability
Flash Communication Server MX.
Usage
Stream.bufferTime
Description
Property (read-only); indicates how long to buffer messages before a stream is played. This
property applies only when playing a stream from a remote server or when playing a recorded
stream locally. To set this property use
Stream.setBuffertime.
A message is data that is sent back and forth between the Flash Communication Server and the
Flash Player. The data is divided into small packets (messages), and each message has a type
(audio, video, or data).
See also
Stream.setBufferTime
Stream.clear
Availability
Flash Communication Server MX.
Usage
Stream.clear()
Parameters
None.
Returns
A Boolean value of true if the call succeeds, false otherwise.
Description
Method; deletes a recorded stream file (FLV) from the server.
Example
This example deletes a recorded stream called foo.flv. Before the stream is deleted, the example
defines an
onStatus handler that uses two information object error codes,
NetStream.Clear.Success and NetStream.Clear.Failed, to send status messages to the
Output window.
s = Stream.get("foo");
if (s){
s.onStatus = function(info){
if(info.code == "NetStream.Clear.Success"){
trace("Stream cleared successfully.");
}
if(info.code == "NetStream.Clear.Failed"){
trace("Failed to clear stream.");
}
};
s.clear();
}
Vedere la pagina 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 79 80

Commenti su questo manuale

Nessun commento