MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Especificações Página 97

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 369
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 96
About Flash Communication Server 19
Writing your first application
The Flash Communication Server installation includes a sample application called doc_connect
that transmits text through the server between two clients. By viewing the source file and then
recreating the application yourself, you’ll learn how to write a simple Flash Communication
Server application. This example is included only to illustrate how easy it is to implement client-
server communication using Flash Communication Server. Before starting to write your own
programs, see Chapter 2, “About Flash Communication Server Applications,” on page 23.
Examining the sample connection application
The doc_connect application shows how to initialize a movie, connect to the server, and publish
and play a stream. It also explains where to save your sample files.
Note: These instructions assume that the service is running. For information on starting the service, see “Starting
the service” on page 18.
To view the source file:
Open the doc_connect.fla file located in the \Macromedia\Flash
MX\flashcom_help\help_collateral\doc_connect directory.
To see the sample in action:
1 Create a directory named doc_connect in the flashcom application directory (by default, the
application directory is Flash Communication Server MX\flashcom\applications).
2 Open the doc_connect.swf file located in the \Macromedia\Flash
MX\flashcom_help\help_collateral\doc_connect directory.
Note: If the application doesn’t seem to be working, make sure the service is running; see “Starting the service” on
page 18.
After allowing access to the audio and video devices, you see two images: the live stream from the
camera and the published stream sent back from the server.
Vista de página 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 368 369

Comentários a estes Manuais

Sem comentários