blog
Tag Archive for SharedObject at Jozef Chúťka's blog
October 12, 2009
browser crash Flash Media Server serialize SharedObject solution
SharedObject goes RangeError: Error #2006
If you keep getting RangeError: Error #2006: The supplied index is out of bounds. with SharedObject, you probably not gonna fix it. In my case this happend when I tried to write non primitive values too frequently into persistant SharedObject’s properties. After reconnect, before any event from your SharedObject dispatched, you get exception that will cause browser crash.
I was not able to solve it by excluding saving advanced objects, nor by using just simple Objects, AMF0 or AMF3, nor by any other method I imagined. To solve the problem I decided to write only serialized objects (strings) and deserialize again on client after synchronization.
October 5, 2009
clients LocalConnection multiple multiuser SharedObject
LocalBroadcaster – multiple LocalConnections
The LocalConnection class lets you create a LocalConnection object that can invoke a method in another LocalConnection object. (adobe)
LocalBroadcaster
LocalBroadcaster
The problem is, LocalConnection allows you to communicate only between two .swf files. The LocalBroadcaster class lets you create multiuser LocalConnection-s. Post includes: