hello,
I have multiple Flash apps running the same sharedObject, but occasionally when I update the data of the shared object, the other app will not recognize this change.
I am not sure why the connection is missing. It will connect after that, and before it, but if it misses one change it will affect my app (they will be out of sync with each other).
I am setting it up thusly:
import mx.utils.Delegate;
var nc:NetConnection = new NetConnection();
nc.connect(“rtmp://localhost”);
var so:SharedObject = SharedObject.getRemote(“sharedObjectAlpha”, nc.uri, false);
so.onSync = Delegate.create(this, newMessageHandler);
so.connect(nc);
so.data.xLocation = variableName;
The way it should work is that when I change any so.data.etcetera value, any other app connected to that SharedObject will recognize a change in the so.data.xLocation variable, and run the function newMessageHandler.
The problem is that sometimes the other app is missing this update, and not running the function, possibly because it is not receiving the variable?
Does anyone know the reason this could be happening? Or know of an easy way to check if the other app got that data?
I am having this issue on my localhost as well as on a server.