its flame only but worth knowing
a look at blending 2 different takes using the Distort node using moving footage
http://www.joelosis.com/2014/08/advanced-morphing-using-distort-node.html
enjoy