Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Media Server

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-23-2012, 06:14 PM   #1
landjaguar
Registered User
 
Join Date: Aug 2012
Posts: 25
Default [AS3] Sending Messages

Hello All, I am creating a chat application in Flash Media Server. I want clients to send messages back and forth to each other in a private room. Unfortunately, my knowledge of ActionScript 3.0 is rather limited. To accomplish this is using the NetGroup class the most suitable method to send and receive private messages? Or, are they different alternatives out there?

In regards to the NetGroup class i don't understand this class very well. I get confused with sendToNearest and and sentToNeigbor etc. Anyhow, if you have the answer to my questions i appreciate if you can reply to me thanks.
landjaguar is offline   Reply With Quote
Old 08-23-2012, 08:36 PM   #2
abeall
Senior Member
 
Join Date: Feb 2006
Location: Washington, DC
Posts: 2,717
Send a message via AIM to abeall
Default

NetGroup is a peer-to-peer class... if you are using FMS I would recommend that you just use NetStream to send a message to the server and have the server app echo the message to the intended recipient(s)
__________________
Aaron Beall | Flash portfolio | Fireworks extensions | Twitter
abeall is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:00 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.