Ryan has posted 9 posts at DZone. View Full User Profile

Getting started with Adobe Flash Collaboration Service beta

03.23.2009
| 21225 views |
  • submit to reddit

At Adobe MAX, Adobe announced the Adobe Flash Collaboration Service (formerly, code name “Cocomo”) project that you can use to add real-time connectivity and collaboration to any Flex application. Adobe Flash Collaboration Service beta comes with built-in components to add functionality such as whiteboarding and video chat, as well as a framework that you can use to build your own real-time components.

This tutorial will help you get started with Adobe Flash Collaboration Service beta. It will take you through setting up an account, performing the authentication, and then creating a session with some of the built-in pods. At the end, you can make the application accessible to guests so anyone can come into the room and collaborate.

Requirements

In order to make the most of this article, you need the following software and files:

Adobe Flash Collaboration Service beta account and SDK (Adobe ID required)
Sample files:
Flex Builder 3
 
 

Flash Player


Prerequisite knowledge

Basic knowledge of Flex and Flex Builder is required.

Creating your Adobe Flash Collaboration Service beta account

As a first step, you'll need to sign up for a developer account at afcs.acrobat.com.

If you already have an Adobe ID, just sign in with your credentials. If not, take a minute to sign up. After signing in, you will be asked to enter an account name to create the SDK account. The account name will make up the URL that you can use to connect to rooms and build in collaboration.

When you have finished creating your account URL, you'll see the Adobe Flash Collaboration Service beta portal. Here you can provision rooms and see how much bandwidth your rooms have consumed. Click the link to download the Adobe Flash Collaboration Service SDK, if you don't already have it (see Figure 1).

The Adobe Flash Collaboration Service beta Developer Portal after setting up an account.

Figure 1. The Adobe Flash Collaboration Service beta Developer Portal after setting up an account.

To create a room, click the "Add" button in the Room Instances panel. I called mine "demoroom" but you can name yours whatever you want.

Adding Adobe Flash Collaboration Service beta SWC files to your project

The Adobe Flash Collaboration Service beta SDK includes SWC files in the lib directory that provide all of the functionality you'll need to use Adobe Flash Collaboration Service beta. Start by creating a new Flex project, and then add the SWC file from the lib/player9 folder to the project by choosing Project > Properties > Flex Build Path > Library Path > Add SWC. Browse to the lib/player9 folder and select afcs.swc.

There are some special microphone features that are available to you if you're using Flash Player 10. You won't use those for this tutorial, but if you have Flash Player 10, you can use the player10/afcs.swc with no problems. Just make sure to set the minimum Flash Player version of your Flex project to 10.0.0 in the Flex Compiler tab of your project properties.

References
Published at DZone with permission of its author, Ryan Stewart. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Manuel Saint-Victor replied on Tue, 2009/06/02 - 2:17pm

Great Article Ryan- I'm off to play with Flash Collaboration now! 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.