I have created a TweenMax instance with an onComplete Callback in as2 using the scope parameter. Everything works fine. When I try to delete the eventCallback with
instance.eventCallback("onComplete",null);
it does not remove the callback.
I also have tried the following, nothing works
instance.eventCallback("onComplete",null,"onCompleteScope:this");
instance.eventCallback("onComplete",null,null,"onCompleteScope:this");
instance.eventCallback("onComplete",null,[],"onCompleteScope:this");
instance.eventCallback("onComplete",null,this);
and so on...
Nothing seems to work and actually remove the callback from the tween.
You mention a 4th parameter in the docs but there is an example missing how to correctly implement scope.
Can anyone tell me the correct syntax?
Any help much appreciated!