Dynamic path
Hi, I have functions i have to re-use with differents objects, i don't want to write a function for each symbol as they use the same mecanisms, but i don't know how to use dynamic targeting and parameters, everything i tried did'nt worked
for example, i tried to pass the instance name in parameters of the function, it does not work :
this.auto.addEventListener("click", obj_function.bind(this, obj='auto'));
function obj_function.(obj) {
this.obj.goToAndStop();
this.obj.removeEventListener();
}
Thanks for your help
