continuousLoop return to 0 state instead of previous state.

Hello,

When I use continuousLoop With a value it creates an animation that goes from 0 to the new value

[lua]

transition.to( target, { time=3000,iterations=-1,transition=easing.continuousLoop, xScale=2 } )

[/lua]

This would create an animation going from 0 to 2 back to 0 instead of 1 to 2 and back.

This is the description:
This easing function will tween an object to its target state and then reverse back to the initial state (interpolation is linear).

The initial state is not 0 scale. I also tried it with position, width, height. It all moves back to 0 instead of the values it started from.

What am I doing wrong?

Corona build 2014.2282(2014.4.24)

Ok this is weird:

[lua]

    kleurenKnop=newImage(sceneGroup,“plaatjes/hoofdMenu/kieskleuren.png”,228,138)

    kleurenKnop.id=“kleurenKnop”

    PlaceImage(kleurenKnop, myWidth*0.15, myHeight*0.15)

    transition.to( kleurenKnop, { time=3000,iterations=-1,transition=easing.continuousLoop, width=400 } )

[/lua]

This sorta works, what happens in this animation is (in my case) the image shrinks and then grows back to its initial state.
Yup the new width 400 instead of the 238 makes the image shrink. It uses the double values as the base value. Haven’t gotten it to work with scale though.

But I will settle for this as it at least creates the movement I want. 

Ok this is weird:

[lua]

    kleurenKnop=newImage(sceneGroup,“plaatjes/hoofdMenu/kieskleuren.png”,228,138)

    kleurenKnop.id=“kleurenKnop”

    PlaceImage(kleurenKnop, myWidth*0.15, myHeight*0.15)

    transition.to( kleurenKnop, { time=3000,iterations=-1,transition=easing.continuousLoop, width=400 } )

[/lua]

This sorta works, what happens in this animation is (in my case) the image shrinks and then grows back to its initial state.
Yup the new width 400 instead of the 238 makes the image shrink. It uses the double values as the base value. Haven’t gotten it to work with scale though.

But I will settle for this as it at least creates the movement I want.