var obj = { toString:function():String {return 'foo' } } obj.obj = {}; trace(obj.obj.parent); // нужно 'foo'