开发者

enumerating keys in SharedObject

开发者 https://www.devze.com 2023-02-19 00:03 出处:网络
in my code i get SharedObject开发者_StackOverflow instance: _so=SharedObject.getRemote(\"streamSO\",_soConnection.uri,true);

in my code i get SharedObject开发者_StackOverflow instance:

_so=SharedObject.getRemote("streamSO",_soConnection.uri,true);

My question: is it possible to enumerate everything under _so.data without prior knowledge of property names?

Thanks, -V


You could try this:

for(var key:String in _so.data)
{
   trace(key+' : '+_so.data[key]);
}

I'm not certain if this works with shared objects though, but it's worth a shot.

0

精彩评论

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