
Adobe
In this article, you will learn how to build a basic video switcher using Flash MX Professional 2004 and Flash Communication Server MX 1.5. This video switcher enables multiple people to broadcast video and audio to Flash Communication Server, and lets you control what the end user watches. You will learn how to use server-side ActionScript and Flash Communication Server messaging easily to control the source of the stream that your audience watches.
As a bonus, you will even incorporate switching between live and prerecorded video sources—all with nothing more than Flash Player, a camera, and some real personality.
In this article, you will create three Flash movies and one ActionScript communications file:
To help you get started, I created the user interfaces for this article. You can download the basic interface and the completed solution with some bonus material below. The basic interface contains all visual elements with the key ActionScript removed. To follow along with this tutorial, use the files in the fcsBroadcaster_start folder. The completed solution is located within the fcsBroadcaster folder. Both folders should be placed within the flashcom/applications folder on your server.
For this article, you will need the most recent versions and updaters of these Macromedia products:
This article makes significant use of ActionScript and server-side ActionScript. You should be comfortable with the ActionScript language. The user interface for this article is already complete, so you don't need to be a designer!