
Chapter 122
To test your sample application:
1 Choose File > Publish Settings, select Flash and HTML, click Publish, and then click OK.
2 Choose Control > Test movie.
You see two video windows on the Stage, each displaying the same image.
3 To see how the movie looks in a browser, choose File > Publish Preview > Default, or press
Control+F12 (Windows) or Command+F12 (Macintosh).
Congratulations, you’ve just created and tested your first Flash Communication Server
application! This sample, of course, is for instructional purposes, and has both streams displayed
in a single movie. In a real application, one movie would publish the video feed and another
movie would play it.
This sample was included to show how just a few lines of code can implement client-server
communications using Flash Communication Server. Before you begin writing your own scripts,
be sure to read through the conceptual information provided in Chapter 2, “About Flash
Communication Server Applications,” on page 23, which provides an important overview of the
objects available to you as a Flash Communication Server developer.
Komentarze do niniejszej Instrukcji