开发者

Red5 Flex Application: Shared Object sends “change” or “delete” event only when server is started and client connects for the first time

I have a shared object created in WebScop开发者_JAVA百科e. when I start the server and clients connect for the first time, it sends change and delete events just fine. but after that it only sends clear event. any ideas?


It seems that you use SyncEvent.changeList property, but what for?
I suggest you to iterate over data via SharedObject.data or SyncEvent.data properties.

 var busySO:SharedObject = ...;
 for each (var obj:Object in busySO.data) {
        ...
 }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜