quick answer with no investigation:

You create a result handler.  This result handler can be another object.

On 7/22/07, Jason Bourne <[EMAIL PROTECTED]> wrote:

You can use invoke() and ServiceUtils.invokeOnAllConnections() (see docs
here: 
http://dl.fancycode.com/red5/api/org/red5/server/api/service/ServiceUtils.html
).

The problem I have run into, however, is that I cannot find a way to do
this for ActionScript 2.0 clients. Having two identical programs, one in
ActionScript 3.0 and one in 2.0, connect and listen to events from server,
and invoking invokeOnAllConnections() on the server causes the 3.0 client
to respond correctly, whereas the 2.0 client does nothing.

Does anybody know the correct way of invoking a method on a AS2.0 client?

Thanks,

-j


> Hi!

> The way to call method of the server from the client is nc.call
("method",parameters);
> now i am searching for how to invoke a method of client from the
> server, if anyone knows plz tell me.
> and also how to invoke the method of all connected clients...


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org




--
Dominick Accattato, CTO
Infrared5 Inc.
www.newviewnetworks.com
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to