"this.inst.type.plugin.__proto__.acts.ZMoveToObject"
is not correct
"cr.plugins_.WebStorage.prototype.acts.StoreLocal.call(webstorage_obj, key, value)" ,
- replace "WebStorage" to your plugin name ("Sprite", maybe)
- replace "StoreLocal" to your function name ("ZMoveToObject", maybe)
- replace 1st parameter to the instance ("this.inst")
- replace other parameters according to your function call interface("1,this.pinObject.type", maybe, I am not sure "this.pinObject.type" is correct or not)
Reference : Function.prototype.call()
The plugin name could be different depending on which object has the behavior.
So if a 9patch has it, it would be NinePatch. If a sprite has it, then it would be Sprite, I think..
How would I find that out?
I guess I would then do cr.plugins_["objectType"] ?
I tried console.log(this); to search through it, but can't find it anywhere.