ANother way to do it is to use an array or data line to hold the sequence of animation frames. Then if you want it slower, just repeat the numbers, so it plays the same frame twice. This is a very powerfull way to do it, as it lets you have different anims playing differently paced actions. Like for a still breathe cycle, you might have four frames and want it to loop every second, so you have this:
1111222233334444
but then when your hero swings his sword you have 3 frames that play really quick, but then he holds on the last frame for a while:
567777777
see what I mean? If you start putting wait commands or messing with the sync rate you will effect the whole program, where as if you have lists of frames that you play you can controll the speed manually for each anim without effecting the speed of the whole game!
GIve me more power!