Using Communication Components > AudioConference component > Using the AudioConference component

 

Using the AudioConference component

The following list describes several ways to use this component:

Party line: Allow a group of users to discuss topics simultaneously.

Virtual phone conference: Host office meetings online instead of using conference call-in numbers and speaker phones. You can use this component to easily build custom applications that use your corporate identity.

Technical support: Along with training materials or complex applications, use this component in a problem-solving forum.

 
To use the component in your application:

1

Make sure that Macromedia Flash Communication Server MX is running.

2

Create a directory in the Flash Communication Server MX applications directory, and name it audioconf_test.

3

Create a new file in the audioconf_test directory and name it main.asc. Add the following line of code to load the components.asc file:

load("components.asc");

Note: You can also copy the main.asc file from another application directory to this application's directory.

4

In Macromedia Flash MX, drag the AudioConference component onto the Stage.

5

In the Property inspector for the AudioConference component, type an instance name, such as audioconf_mc.

6

Drag the SimpleConnect component onto the Stage.

7

In the Property inspector for the SimpleConnect component, provide the following two parameters:

In the Application Directory text box, type the URI of the application that you created in Step 2: rtmp:/audioconf_test.

Double-click the Communication Components text box. In the Values dialog box that appears, click the plus sign (+) and type the instance name of the AudioConference component: audioconf_mc. Click OK.

By providing this value, you are using the SimpleConnect component to handle the connection for the AudioConference component. When the SimpleConnect component successfully connects to the server, the AudioConference component automatically connects to the server.

8

Save and publish the file as myAudioApp.swf.

9

Open the SWF file. (Alternatively, select Control > Test Movie in the Flash MX authoring environment.) Log in and click the Auto checkbox.

If your audio input device is running, the light turns green when you speak. A light appears next to each user name. If you are not speaking, your light dims.