Tom Krcha's FlashRealtime

Hey amigo!
I am Tom Krcha, Gaming Evangelist at Adobe. These are my notes


P2P Chat with NetGroup in Flash Player 10.1

July 8th, 2010

This videotutorial is a follow-up of my tutorial Simple chat with P2P NetGroup in FP 10.1.

Peer-to-peer chat with NetGroup in Flash Player 10.1 (ADC video link)

Sample files

Where to go from here

Check other tutorials regarding P2P in Flash:

- File Sharing over P2P in Flash with Object Replication
- P2P GroupSpecifier Class Explained In Details Part 1
- Multicast Explained in Flash 10.1 P2P
- Directed Routing Explained in Flash 10.1 P2P
- Simple chat with P2P NetGroup in FP 10.1

Video tutorials:
- P2P Chat with NetGroup in Flash Player 10.1
- Multicast Streaming in Flash Player 10.1 Tutorial

Facebook comments:

17 Comments »

  1. [...] Read this article [...]

    Pingback by P2P Chat with NetGroup in Flash Player 10.1 | Flash Stock Files — July 8, 2010 @ 7:58 pm

  2. [...] Direct Link [...]

    Pingback by P2P Chat with NetGroup in Flash Player 10.1 | Lively Flash Tuts — July 9, 2010 @ 1:22 am

  3. When will FMS4 release?

    Comment by FMSer.CN — July 9, 2010 @ 4:42 am

  4. Hi, everyone.

    Comment by Hi, how are you? — July 9, 2010 @ 7:37 am

  5. Hi Tom, When do you think you’ll be publishing the new Libs you talked about in “Build an app in a week”.
    P.S I love your work, only because of your video tutorials I started Flex programing, keep on the good work.

    Comment by Jacob — July 11, 2010 @ 9:03 am

  6. hi Tom.. how i make user list for this p2p chat?

    Comment by Sergey — August 17, 2010 @ 1:02 am

  7. [...] momento ya hemos visto sencillos ejemplos de videollamadas, chats y comparticiĂłn de archivos con la ausencia del servidor. Y la cosa promete mucho [...]

    Pingback by Flash, AIR y el P2P | Xavi Vives — August 24, 2010 @ 9:38 am

  8. Hello

    I just tried some demos of yours and I can’t figure out how to link the right libraries, because I don’t have the NetGroup.

    I am more a flash developer, new to flex and this Eclipse like IDE … can you give me some hits on the prerequisites?

    Thank you.

    Comment by Cristian Rusu — October 20, 2010 @ 8:49 am

  9. Cool example but.. is it just me or is it that you cant send duplicate messages?

    For example (with 2 windows open)
    - user 1 sends the text “TEST”
    - both user1 and user2′s textarea show the text “TEST”
    - user 1 sends the text “TEST” again
    - user1′s textarea shows “TEST” but user2′s shows nothing

    its not just when you send it twice in a row, it happens even if you send 1000 different messages then try to send just “TEST” again.. the other users dont get it.

    Any ideas? Or is it just happening to me??

    Comment by Panther — October 27, 2010 @ 9:49 pm

  10. Hi, man! Thank you!
    I have 2 very strange problems.
    1 – If I change my new GroupSpecifier(“aslrexample/g1″); for example new GroupSpecifier(“aslrexample/g2″); – never happens. Neighbors cant find each-other. none “NetGroup.Neighbor.Connect” message.
    2 – But if I have new GroupSpecifier(“aslrexample/g1″); I have 2 NetGroup.Neighbor.Connect messages in one application

    Comment by Artem — November 3, 2010 @ 1:32 pm

  11. sorry, I mean GroupSpecifier(“myGroup/g1″);

    and one more thing. If I use groupspec.routingEnabled = true; never happens to – Neighbors cant find each-other.

    Comment by Artem — November 3, 2010 @ 5:24 pm

  12. hm… I think it’s Mac problem. version 10.6.4. Same application worked in Win, but not worked in Mac. For example all methods,like “sendTo…” not worked ) :

    Comment by Artem — November 4, 2010 @ 2:56 pm

  13. I got same problem as Artem’s one. If I changed the group name, nothing happened. The example software cannot find the neighbor. I use mac osx, version 10.6.6.
    Do anybody have the solution??

    Comment by Usk — January 30, 2011 @ 5:12 pm

  14. Hi man! I find my problem. I use GPRS modem in my Mac. In Windows this modem worked good, but in Mac not. After I try use Lan internet – and all services worked good.

    Comment by Artem — March 14, 2011 @ 4:22 pm

  15. (huawei e1550)

    Comment by Artem — March 14, 2011 @ 4:24 pm

  16. Hi Tom! How to transfer the coordinates of the Movieclip to another user to see the clip on the move? And accordingly, it was obvious that the motion Movieclip to another user. Something resembling a game of ping-pong or billiards …

    Comment by garymar — July 11, 2011 @ 1:54 pm

  17. Hi ,
    Thanks for nice tutorial but I cant figure out why its not working for me?

    Comment by Rohit — August 30, 2011 @ 11:28 am

RSS feed for comments on this post. / TrackBack URL

Leave a comment

Comment moderation is enabled. Your comment may take some time to appear.