开发者

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

开发者 https://www.devze.com 2023-03-06 00:08 出处:网络
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 cle

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

精彩评论

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