Skip to content


Coding with Cocomo - Tutorial Part I

In preparation for my upcoming presentation at 360|Flex, I’ve decided to write a series of simple tutorials/examples on Adobe Cocomo.

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

Most or all of the existing examples seem to show only how to use built-in whiteboards and chat tools. Those are cool, but for any real app, we’re going to want to do something custom. Stay tuned for details :)

What is Cocomo?

Getting Started Tutorial

From http://labs.adobe.com/technologies/cocomo/

Codename “Cocomo” is a Platform as a Service that allows Flex developers to easily add real-time social capabilities into their RIA (rich Internet applications). Comprised of both Flex-based client components and a hosted services infrastructure, Cocomo allows you to build real-time, multi-user applications with Flex in less time than ever before. And because Acrobat.com hosts the service, issues like deployment, maintenance, and scalability are taken care of for you.

Add social features to your existing Flex apps or build totally new ones, such as real-time productivity/collaboration apps, multiplayer games, and audio/video chat.

Part 1, Pods!

Before you work on this, take a look at this Getting Started Tutorial. We’re not doing anything it isn’t doing in part I, and it does a better job helping you set up an account.

All we are doing is using two built in “Pods”, a whiteboard, and a chat pod. These are awesome, and you can build some really cool applications by just throwing pods in, but the focus of these tutorials is going to be on how to do custom real time messaging with Cocomo.

Before you code this, go to http://cocomo.acrobat.com, create a new account, and create a room called “whiteboard”. Replace the info in my app with your userName, password, and roomURL.

-

In Part II, we’ll talk about custom messaging!

Posted in Flex. Tagged with .

9 Responses

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

  1. Jay said

    Hi Sean,

    Readers should be warned that coping and pasting this code won’t work after Cocomo has been renamed to AFCS.

    This part: xmlns:rtc=”CocomoNameSpace”>

    Needs to be changed to: xmlns:rtc=”AfcsNameSpace”>

    Please update.

    - JAy

  2. sean said

    Dang… Thanks for the heads-up Jay. I had updated the source repository, but not the code in the post. The examples should all now work fine.

  3. Joseph said

    Hi Sean, Joseph here again. This is the demo that isn’t working properly, it loads, then has a blank page and Firefox shows a “waiting for ….” in the status bar.

    Are you avaliable for work? or know of any friends who are capable of afcs development with flex and flash?

    I have my email attached if you have time to reply.
    Thank you.

  4. sean said

    @Joseph - Seems like it was some kind of temporary network problem on their end. I tried it a couple of times, couldn’t get it to work, randomly hit refresh and now it’s working again.

    Feel free to contact me at seanhess gmail com about work.

  5. Я извиняюсь, но, по-моему, Вы не правы. Я уверен. Давайте обсудим это. Пишите мне в PM, пообщаемся.

Continuing the Discussion

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

    [...] Welcome back to Coding with Cocomo. In Part I, we talked about what Cocomo is, and set up some simple Whiteboard and Chat pods. [...]

  2. Coding with Cocomo - Part 0 - Tools - Flex and its Environs linked to this post on February 10, 2009

    [...] Part I - Pods [...]

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

    [...] Part I - Pods [...]

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

    [...] Part I - Pods [...]

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.