code: function(objID, typeName)
      {
          var objType = this.getTypeFromName(typeName);
  	        instanceFactory.prototype = objType;
  	        var instance = new instanceFactory(objID);
          this.remoteInstanceCache[objID] = instance;
          return instance;
      }
docs: create an AS proxy for the given object ID and type