Create a particle emmiter, set it up so that you get nice fire how you want it, then just keyframe the number of particles to emmitt. Should do it. You might need to have only one frame that the emmitter emmits on with a very large number (say 1000 or something)