So far I only know this to be possible in XP. I'd really love a script like that myself if there ever was one.
An alternative to this would be to make a charset with 12 phases of the fire. Then have the 'fire' character walk on the spot first left, then up, right, and down. That's the way I do my multi-frame animations. (16 frames would kinda not be effective here, that would be 1 full and 1/3rd of another character animation. Settle for 12, or go for 24 O_o)