Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

Is it possible to use Remote SharedObjects with the LCDS server?

$
0
0

Hello,

The ActionScript documentation for Remote SharedObject

RSOs are created using the static getRemote function.  This returns a reference to an object that can be shared across multiple  clients by means of a server, such as Flash Media Server. If the shared  object does not already exist, this method creates one.

 

The following code shows how you assign the returned shared object reference to a variable:

var myRemote_so:SharedObject = SharedObject.getRemote(name, remotePath, persistence);After calling this method, use SharedObject.connect() to connect the  object to the application server, as shown in the following code

 

var myNC:NetConnection = new NetConnection();
myNC.connect(“rtmp://[yourDomain].com/applicationName”);
var myRemoteSO:SharedObject = SharedObject.getRemote(“mo”, myNC.uri, false);
myRemoteSO.connect(myNC);

 

To confirm that the local and remote copies of the shared object are synchronized, use the sync event.

All clients that want to share this object must pass the same values for the name and remotePath parameters.

 

Is it possible to create RSO's using the LCDS server instead of the Flash Media Server? If so, how?

 

Thanks,

Oscar


Viewing all articles
Browse latest Browse all 58696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>