I've made a little program here that demonstrates how to animate an object's texture (or, how I do it, anyway

), which comes in handy when you need to do a muzzle flash, explosion, et cetera...
It comes with images so you'll have to download it, but it's only, like, 23 KB:
http://www.egenericworks.com/resources/browse.php?id=3
BTW, you can change the speed by changing how much
frame# increments each loop. But be sure that it will total up to an integer sooner or later, or nothing will happen.
"Never put off for tomarrow what you can put off for the day AFTER tomarrow..."
eGeneric Works DB site -
www.egenericworks.com