Generally, I have three or four sets of archers in my stacks later on in the game, and I simply set one of them to use flaming arrows, and have them mass their fire on the most dangerous targets (not that a solid wall of armored, Athenian, Corinthian, and/or Spartan hoplites really has anything that's all that dangerous to them).