From [etymonline](http://www.etymonline.com/index.php?term=fly):

> **fly (v.1)**   
> Notion of "flapping as a wing does" led to noun sense of "tent flap" (1810), which yielded (1844) "covering for buttons that close up a garment." 

[Wikipedia](http://en.wikipedia.org/wiki/Zipper) says:

>In the 1930s, a sales campaign began for children's clothing featuring zippers. The campaign praised zippers for promoting self-reliance in young children by making it possible for them to dress in self-help clothing. The zipper beat the button in 1937 in the "Battle of the Fly", after French fashion designers raved over zippers in men's trousers. Esquire declared the zipper the "Newest Tailoring Idea for Men" and among the zippered fly's many virtues was that it would exclude "The Possibility of Unintentional and Embarrassing Disarray."[citation needed]

The word *fly* is commonly used in the UK as well.

More [here](http://en.wikipedia.org/wiki/Fly_(clothing)).