There were 2...Animaniacs had an innocent little flame that didn't start fires. He just announced what was going on in an historical episode. I think he was the flame on a candle in Benjamin Franklin's workshop. However, Batty, the one you're talking about was a mischievous flame from an older cartoon that kept spreading and creating more of himself, especially when struck or when he was on a broomstick that was shaken vigorously. This one, I believe, was from an Andy Panda or Woody Woodpecker episode.
There are two cartoon flames I know; the first is from the old Superman cartoon (it was like some sort of fire monster) and the second was from that episode of SpongeBob where he put off doing his essay.