I just downloaded the spritely jQuery plugin: http://spritely.net/
I would like to tell the plugin that at frame 11 (last frame of the animation) I would like to reverse the animation. Here’s my code:
$('#logo').sprite({
fps: 17,
no_of_frames: 12,
on_frame: {
11: function(obj) {
rewind: true
}
}
});
the rewind: true functions works if placed as an option next to fps, no_of_frames etc. But I need it only initialized when at frame 11.
How can this be achieved?
Many thanks!
I looked through the documentation for that plugin and instead of using JavaScript for this, I would consider making a GIF, which I bothered to do for you. You will end up having more control over the appearance probably, too. If you’d still like me to look into the programmatic solution for you, please let me know. Also, could you tell me the name of the font you used? The reason I ask is some of the frames you sent me ended up not being exactly aligned; I can redo it. Here you go: http://img6.imageshack.us/img6/7084/bigom.gif