I've never tried tweening a curve, but with GTween a "change" event gets fired every frame as well as on complete.
An idea off the top of my head is if you're tweening x or anything else, you could apply some maths and adjust the y separately:
local tween = GTween.new(self, 10, {x=100}, {dispatchEvents =true})function self:curve()--->>get the x and apply some trigonometry, or use a look up table or whatever to set the y
self:setY(YOUR MATHS)end
tween:addEventListener("change", self.curve, self)
Comments
you could use MovieClip
http://docs.giderosmobile.com/reference/gideros/MovieClip#MovieClip
Or a GTween library:
http://appcodingeasy.com/Gideros-Mobile/Gideros-GTween-with-easing
I've never tried tweening a curve, but with GTween a "change" event gets fired every frame as well as on complete.
An idea off the top of my head is if you're tweening x or anything else, you could apply some maths and adjust the y separately: