Tom Krcha's FlashRealtime

Hey amigo! These are my notes. I'm Platform Evangelist with Adobe.


AFCS Roles and Permissions and more video tutorials

August 3rd, 2009

Nigel Pegg - architect of Adobe Flash Collaboration Service did few more very interesting video-tutorials, which might be very handful for you.

AFCS Roles and Permissions
http://afcstutorials.blip.tv/file/2395643/ (highly recommended!)

AFCS Building Shared Models
http://afcstutorials.blip.tv/file/2398484/

Also my fellow Ryan Stewart wrote few more AFCS tutorials - check it out here:
A Week of Flash Collaboration: Shared Models and Collection Nodes
http://blog.digitalbackcountry.com/2009/07/a-week-of-flash-collaboration-shared-models-and-collection-nodes/

Go ahead and have fun!

Custom Messaging with AFCS (CollectionNode)

June 22nd, 2009

This videotutorial explains how to use Custom Messaging using CollectionNode with Adobe Flash Collaboration Service. This is basically one of the most important realtime messaging features in AFCS.

Custom Messaging (Collection Node) with AFCS

Demo application: http://flashrealtime.com/tuts/custom-messaging-afcs/demo

Videotutorial:http://flashrealtime.com/tuts/custom-messaging-afcs.html

Source: http://flashrealtime.com/tuts/custom-messaging-afcs/source.zip

Private messaging tip:
See recipientID of MessageItem Class. You can get all recipientIDs from session.userManager.userCollection.

Basics of P2P in Flash

May 31st, 2009

This videotutorial explains the basics of working with P2P (peer to peer) in Flash Player 10.

I made this tutorial with focus on simplicity of this fantastic feature of Flash. There are bunch of articles and examples in the world showing how to create your own P2P app, but most of them are very complex or hard to catch.

In this tutorial you’ll get idea how to connect two different peers and exchange data between them with ActionScript 3.0 and Flex only.

Prerequsites:
- familiarity with ActionScript 3 and Flex Framework
- Flash Player 10 Debug version installed download
- Flex Framework 3.3+ download

P2P in Flash

Videotutorial: http://flashrealtime.com/tuts/p2p-in-flash.html (20 min.) 
Try: P2P demo (run in two browsers, explained in video)
Source: download P2P.mxml.zip

Note: Programatically the main P2P logic is not to connect peers together just via NetConnection, but by defining peerIDs to NetStream.
PS: don’t forget to change your Flex Compiler settings to use Flash Player 10
Btw: nice P2P Mill Game done by my friend Pavel Šimek http://nestor.cz/mill/ 

Good Luck!

External Authentication with AFCS

May 12th, 2009

This videotutorial takes Adobe Flash Collaboration Service to the next level. By enabling custom login or external authentication makes your AFCS applications far more useful in your own systems. So you don’t need to use Acrobat.com credentials to access your app, but you can use your own user database or LDAP service to check login details and then grant users different rights/roles.

Prerequisites: 
- Understand Zend_AMF and PHP basics - see videotutorial (by Lee Brimelow)
- Running PHP server with Zend Framework
- AFCS SDK - http://afcs.acrobat.com
- afcs.php - part of AFCS SDK (extras/scripts/afcs.php)

Duration: 12:40

Link: http://flashrealtime.com/tuts/external-authentication-afcs.html

Source: Source.zip (Flex and PHP)

Simple VideoChat using AFCS

May 6th, 2009

In this video-tutorial of Adobe Flash Collaboration Service, you will find the easiest possible way of building your own VideoChat, which you can easily take and reuse on your site or in your company. It’s pretty easy, just combine few default components and it’s done.
Tutorial also includes some basics of AFCS, to get started.


Click to play videotutorial

Duration: 13:31

Link: http://flashrealtime.com/tuts/simple-videochat-using-afcs.html

Source code: Videochat.mxml.zip

Enjoy :)