How to play a sprite backward?

So here’s my code:

local loadup\_sequence = { { name="forward", sheet=loadup\_sheet, start=1, count=10, time=1000, loopCount=1 }, { name="backward", sheet=loadup\_sheet, start=10, count=1, time=1000, loopCount=1 } } local loadup = display.newSprite(loadup\_sheet,loadup\_sequence) loadup.x=display.contentCenterX loadup.y=display.contentCenterY loadup:scale(2,2.4) --loadup:setSequence( "forward" ) \<----This works loadup:setSequence( "backward" ) -- \<---Doesnt work loadup:play()

Playing backward doesnt work.

Any idea why?

Yes.

backward is set to start at frame 10 and only has a count of 1.  (count is how many frames to count up, not goto frame#)

instead of using start and count, just name the frame numbers like so…

&nbsp;{ name="forward", frames={ 1, 2, 3, 4, 5, 6, 7, 8 , 9, 10}, time=1000, loopCount=1 }, &nbsp;{ name="backward", frames={ 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}, time=1000, loopCount=1 },

Thanks comrade!

Yes.

backward is set to start at frame 10 and only has a count of 1.  (count is how many frames to count up, not goto frame#)

instead of using start and count, just name the frame numbers like so…

&nbsp;{ name="forward", frames={ 1, 2, 3, 4, 5, 6, 7, 8 , 9, 10}, time=1000, loopCount=1 }, &nbsp;{ name="backward", frames={ 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}, time=1000, loopCount=1 },

Thanks comrade!