Connect and sync to remote shared object works in Authoring, but not in browser
Hi. I'm having trouble connecting to a remote persistent shared object.
When I run from the Flash authoring environment it works. But when I run it from a browser it doesn't.
The code attaches an event listener to the sync event, and then calls so.connect(nc).
As mentioned - it works inside Flash authoring only.
In both cases the connection to the server is successful.
Is this a security issue?
I also tried setting client.readAccess to "/" in the application.onConnect function of the server-side code - but it doesn't help.
What can cause this?
(Everything was written by me including the server-side application code. I have full control and access to the server).
Also, I can see the remote object exists on the server in the admin console.
And as mentioned, when running inside Flash CS5 - the onsync gets triggered after connecting to the shared object.
But, the same code under a browser - doesn't trigger the onsync.
The SharedObject.getRemote method on the client side returns an object on both occasions.
I will appreciate any ideas...
Thanks.
