MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Especificaciones Pagina 262

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 369
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 261
Client-Side Communication ActionScript 71
Returns
Nothing.
Description
Method; pauses or resumes playback of a stream. This method is available only to clients
subscribed to the specified stream, not to the streams publisher.
The first time you call this method on a given playlist (without sending a parameter), it pauses the
playlist; the next time, it resumes play. You might want to attach this method to a button that the
user presses to pause or resume playback.
Example
The following examples illustrate some uses of this method.
myStream.pause(); // pauses play first time issued
myStream.pause(); // resumes play
myStream.pause(false); // no effect, play continues
myStream.pause(); // pauses play
Suppose you have a playlist of three recorded streams.
connection = new NetConnection();
connection.connect("rtmp://localhost/appName/appInstance");
// Create a NetStream for playing
dstStream = new NetStream(connection);
myVideoObject.attachVideo(dstStream);
// To play record1
dstStream.play("record1", 0, -1, false);
// To play record2
dstStream.play("record2", 0, -1, false);
// To play record3
dstStream.play("record3", 0, -1, false);
// You click a button to pause while record2 is playing
dstStream.pause();
// Later, you want to resume the play
dstStream.pause();
// Later, you want to start a new playlist
// To play record4
dstStream.play("record4", 0, -1, true);
// To play record5
dstStream.play("record5", 0, -1, false);
// To play record6
dstStream.play("record6", 0, -1, false);
See also
NetStream.play
Vista de pagina 261
1 2 ... 257 258 259 260 261 262 263 264 265 266 267 ... 368 369

Comentarios a estos manuales

Sin comentarios

Harbor Freight Tools Výkonné systémy s jemným postřikem uživatelské příručky

Začínající na E

Klepnutím na abecedu níže přejděte na úplný seznam modelů začínajících tímto písmenem

Modely Typ Dokumentu
Electric Paint Spray Gun
Manuál   Harbor Freight Tools Electric Paint Spray Gun Product manual, 20 stránky