开发者

enumerating keys in SharedObject

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜