SharedObject.getRemote. That is exactly what I was looking for. Thanks!
Chris Foster wrote:
Hi Andrew,
This page might be helpful to you...
http://www.zehnet.de/2008/04/11/red5-remote-sharedobject-experience-tips
/
Specifically:
-------------------------------------------------------------------
A Client can connect to a SO using the following Actionscript lines:
// at first you need to establish a connection to the server of course
nc = new NetConnection();
nc.connect( "rtmp://localhost/red5test/", true );
// when the NetConnection is successfully established
// (you have to listen to NetStatusEvent.NET_STATUS event)
// you can connect to a remote SharedObject e.g. named "chat"
so = SharedObject.getRemote("chat", nc.uri, false);
// when the connection to the SO is successfully established,
// you can begin to specify its contents
so.setProperty("message","hello to all");
-------------------------------------------------------------------
C:
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Andrew
Sinning
Sent: Thursday, 15 October 2009 8:27 AM
To: Flash Coders
Subject: [Flashcoders] AS2 SharedObject with Red5
Is there a way to connect a SharedObject to a NetConnection in AS2?
This appears really easy using AS3, but under AS2 the implementation of
the NetConnection object is quite different, and SharedObject lacks the
connect() method.
Thanks!
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any review,
use, distribution, or disclosure by others is strictly prohibited. If you are
not the intended recipient (or authorized to receive information for the
intended recipient), please contact the sender by reply e-mail and delete all
copies of this message.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders