Remote SharedObject writeAccess question
Hello!
I'm trying to create a FMS application that is broadcasting some data across connected clients using SharedObject.
I want only the Application to be granted to set SharedObject properties.
In application.onConect I do the following:
application.onConnect = function() {
//Grant read access to streams and shared objects
client.readAccess = this.streamPath + ";" + this.soPath;
//Restrict write access
client.writeAccess = "";
}
When connecting the shared object from client SWF the SYNC event never gets fired in client and FMS log shows:
Write access denied for shared object data/playlist
So I guess the whole "connect" procedure is not working properly.
Is there any way to manage the "one way" server to client updates with shared object or I miss the concept of using it?
I'm using FMS 4 (dev. edition)
Thank you!
