Skip to content


AFCS Tutorial - Part 0 - Tools

Welcome back. In Part II - We talked about custom messaging. We published and received updated from one CollectionNode to build a chat program.

I decided to rewind, and before moving on to Part III, we will be slowing down and looking at the Cocomo developer tools.

Good Stuff

AFCS Developer Portal

At the developer portal, you can sign up for an account, download the SDK, and create rooms. Once you’ve signed up and logged in, make sure you click the big “Download the SDK” link.

Cocomo Dev Portal

Cocomo Dev Portal

To create a room, just click the “add” link under your “Room Instances” tab. The URL to this room is your account url + /roomName, so for my tutorial, it is http://connectnow.acrobat.com/seanhessnet/tutorial.

AFCS SWC

  • SDKFolder/libs/

To use Cocomo, you need to take the appropriate swc from the player9 or player10 folder (use player9 if you don’t know), and put it in the libs folder of your flex project

Dev Console and Local Connection Server

  • CocomoSDK/extras

Here’s where the real fun starts. Go to the extras folder, and install both the AFCS Dev Console and the Local Connection Server. The LocalConnectionServer lets you work while offline if you switch your authenticator to a local one. I recommend not doing this until you understand permissions, because the Local Connection Server thinks you are always an admin.

The Dev Console does everything else you can think of, including the following

  • See who is currently logged in to your rooms
  • Inspect your data on the server
  • See how the data is structured

To view a room, you have to log in, select the room, and click “Enter Room” on the right.

Cocomo Dev Console

Cocomo Dev Console

I’ll be talking more about how to use this in Part III - Nodes and Permissions. For now, just fool around :) You can change the permission settings on rooms and nodes, and can create new Collection Nodes.

Posted in Flex, Popular. Tagged with .

7 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Joel said

    Hi Sean,
    This is a very beautifull concept that you guys have come up with. Because till now my mind just kept swirling around webservices to fetch data and thats it!!!. But we developers can use it only as a conference based chat application.
    I was wondering to have made a real-time chat application where we could have private mesages sent over the network.
    Is there anyway possible?

  2. sean said

    Of course, you can specify specific users to send a message to. It’s a little more complicated, but still pretty simple

Continuing the Discussion

  1. Coding with Cocomo - Tutorial Part I - Flex and its Environs linked to this post on February 10, 2009

    [...] Please take a look at Part 0 - Where I discuss the tools we will use and how to download them [...]

  2. Coding with Cocomo - Part II - Custom Messaging - Flex and its Environs linked to this post on February 13, 2009

    [...] Part 0 - Tools [...]

  3. Cocomo Tutorials to continue as Adobe Flash Collaboration Service - Flex and its Environs linked to this post on February 13, 2009

    [...] Part 0 - Tools [...]

  4. AFCS Tutorial - Part III - Permissions and CollectionNodes - Flex and its Environs linked to this post on February 16, 2009

    [...] Part 0 - Tools [...]

  5. AFCS Tutorial - Part IV - Shared Properties - Flex and its Environs linked to this post on February 23, 2009

    [...] Part 0 - Tools [...]

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.