Closed nuthinking closed 10 years ago
Is there any particular reason why this is not possible?
TweenLite.to(view, 1, { y:newY, onTick: function (): void { trace("TICK"); }});
The alternative would be to add the listener to the global ticker before and remove it at complete. A bit verbose.
Thanks!
There's no such thing as "onTick" - I think you meant "onUpdate" :)
ops, yes, that will make it! Thanks! ;)
Is there any particular reason why this is not possible?
TweenLite.to(view, 1, { y:newY, onTick: function (): void { trace("TICK"); }});
The alternative would be to add the listener to the global ticker before and remove it at complete. A bit verbose.
Thanks!