According to a report published by the Washington Post, the United States and Israel jointly developed the virus in what is believed to be the first cyber-attack of the U.S. against another nation. The U.S. and Israel reportedly used Flame as well as Stuxnet to gain intelligence on Iran’s nuclear-enrichment progress as well as sabotage and slow down the program.
There is indication that the U.S. is engaging in a continued effort as the Post cites unnamed sources who claim that “cyber-collection against the Iranian program is way further down the road than this.” The article states that Flame and Stuxnet were part "of a broader assault that continues today."
The report noted that Flame was developed in a program code-named "Olympic Games" at least five years ago and may have been active for several years. The basic idea apparently was to slow down Iran's program, remove pressure for conventional military action and provide room for sanctions and negotiations.