Play sprite slower

Ive got code that is different to the one in the "Docs" and I dont know how to make the sprite play slower because at the moment it plays too fast. Any ideas how to make it play slower?

Heres my code:

1
2
3
4
5
6
7
8
--create sprite sheet from PNG image
sheet1 = sprite.newSpriteSheet("animationSheet.png", 100, 100)
 
--create a sprite set and determine the frame count
spriteset1 = sprite.newSpriteSet(sheet1, 1, 8)
 
--create the sprite
player = sprite.newSprite( spriteset1 )

use sprite.add

1
sprite.add( spriteSet, sequenceName, startFrame, frameCount, time, [loopParam] )
views:1413 update:2011/10/4 17:12:07
corona forums © 2003-2011