Hello
 
i don't know where i can send a help mail so i decided to wrote on this 
e-mailadress!
I speak normally german so i don't know if i get a german or english answer.
To my Problem:
 
I have read all the mailinglists but I#ve not found the way how i can
send the connected list to my flash application.
 
my java seems like this:
 
 
package flashchat;
import org.red5.server.adapter.ApplicationAdapter;import 
org.red5.server.WebScope;import org.red5.server.api.IClient;import 
org.red5.server.api.IConnection;import org.red5.server.api.IScope;import 
org.red5.server.api.Red5;import org.red5.server.api.service.ServiceUtils;import 
org.red5.server.api.IScopeHandler;
public class Meinchat extends ApplicationAdapter {   public void 
appLeave(IClient client, IScope app) {     
ServiceUtils.invokeOnAllConnections(app, "clientLeft", new  
Object[]{client.getId()});     super.appLeave(client, app); } 
 
 public boolean appJoin(IClient client, IScope app) {     
ServiceUtils.invokeOnAllConnections(app, "clientEntered", new  
Object[]{client.getId()});     return super.appJoin(client, app); }
  }
 
I dont know if i had to set instead of "client" or "app" a value of my 
application?
I want only that my applikation get all connections and send it back to the 
user.
 in flash actionscript 2 i wrote this:
 
import mx.utils.Delegate;
var nc:NetConnection = new NetConnection();
nc.connect("rtmp://localhost/flashchat", nick);  // nick = username.. i think 
its set as the id or not?
var soText:SharedObject = SharedObject.getRemote("meinchat", nc.uri, true); 
soText.onSync = Delegate.create(this, newMessageHandler);
i have a usertextfield a chattextfield and a WriteTextfield
 
 
so now i don't know how my java applikation send the new connections or all the 
list of the connections 
to my flash application 
 
 
:( 
 
Please help or give my question further to anyone who can :(
 
_________________________________________________________________
Windows Live Hotmail: Der kostenlose E-Mail-Dienst - schnell, einfach & sicher!
http://mail.live.com
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to