|
Hi there, please
help How can I watch remote Shared Object
changes with FMS 2 and Flex 2? And how can I detect “success” or “change”
call type as it’s declared in documentation? I'm trying something like this: { _people
= SharedObject.getRemote(“people”, _server.uri); _people.addEventListener(SyncEvent.SYNC,
syncPeopleHandler); _people.connect(_server); } private
var _first:Boolean = false;
private function syncPeopleHandler(event:SyncEvent):void { if
(_first) { var
items:Array = _people.data.items; if
(items == null) { items
= new Array(); } items.push(getMyName()); _first
= true; _people.data.items
= items; } else
{ ///////
DOESN’T COME HERE var
items:Array = _people.data.items; appendLog(“People:
” + items); } } Thanks, Mozilla By -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |

