Hi all,
TweenLite allows relative property tweening if the value is supplied as a string. When is this useful? Apart from the obvious like when you want to move an object offscreen you say "x:10000". But I would still prefer calculating the value absolutely. I simply can't see one real world application for relative tweening. Can anyone tell me if they used it? or where it would be good to use it?
Maybe something like this?
TweenLite.to(obj, {x: 50});
TweenLite.to(obj, {x: "10"}); // goes to 60
TweenLite.to(obj, {x: "-10"}); // goes back to 50
Is this a practical example or are there more?
Thanks