var op:ObjectProxy = new ObjectProxy({a: 1});
var obj:Object = op.object_proxy::object; //get what you wanted
obj = op.object; //you get undefined here
Actionscript's documentation did not show any namespace qualification. Flash builder's debugger will show correct content in "op.object". All these leads to confusion. So, hopefully this little note can save somebody an hour of head scratching.
No comments:
Post a Comment