<Tr> <Th> Budget </Th> <Td> $7 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $97.6 million </Td> </Tr> <P> The Man with the Golden Gun is a 1974 British spy film, the ninth in the James Bond series produced by Eon Productions, and the second to star Roger Moore as the fictional MI6 agent James Bond . A loose adaptation of Ian Fleming's novel of the same name, the film has Bond sent after the Solex Agitator, a device that can harness the power of the sun, while facing the assassin Francisco Scaramanga, the "Man with the Golden Gun". The action culminates in a duel between them that settles the fate of the Solex . </P> <P> The Man with the Golden Gun was the fourth and final film in the series directed by Guy Hamilton . The script was written by Richard Maibaum and Tom Mankiewicz . The film was set in the face of the 1973 energy crisis, a dominant theme in the script . Britain had still not yet fully overcome the crisis when the film was released in December 1974 . The film also reflects the then popular martial arts film craze, with several kung fu scenes and a predominantly Asian location, being set and shot in Thailand, Hong Kong, and Macau . Part of the film is also set in Beirut, Lebanon, but it was not shot there . </P>

Who played james bond in the man with the golden gun