Hey all,
If you consider the Tweener library you may recoginise this form:
Tweener.addTween(displayObject, {x:0, y:0, time:0})
This is pretty cool because it seems the alternative is:
function.doMethod(param1, param2, param3 = null, param4 = null, param5 = null.....)
You get the idea, what if you need param5 but not 3 or 4… It gets boring.
Can anyone shed some light on this “Tweener” style instantiation? {} along with most shorthand is just a garbled mess to me.
Thanks.