Hey all,
i have recently started using fusekit, and i love it. So glad i came across it.
When using the tween function you are supposed to put values in quotation marks to make them relative to current values. So:
thingy.slideTo("300", "0", 1, "easeInOutQuad");
to move thingy 300 to the right, as opposed to
thingy.slideTo(300, 0, 1, "easeInOutQuad");
which moves thingy to the 300 x coordinate on the stage.
Thats all fine and good.
But i want to insert a variable “Xtarget” into the parameters in such a way that it is processed as a value in quotation marks so that it is treated as a relative value, and not an absolute one.
How can this be done?
Thanks