<P> Hans Zimmer composed the score, as he did for the previous films, composing eight new motifs, including a new love theme for the At World's End soundtrack . He scored scenes as the editors began work, so as to influence their choice of cutting to the music . Gore Verbinski helped on the score . He played the Ennio Morricone - influenced guitar music in the parley scene between Barbossa, Sparrow, Elizabeth and Will, Davy Jones, and Cutler Beckett . He also co-wrote the song "Hoist the Colours" with Zimmer . </P> <P> The world premiere of At World's End was held on May 19, 2007 at Disneyland, home of the ride that inspired the film and where the first two films in the trilogy debuted . Disneyland offered the general public a chance to attend the premiere through the sale of tickets, priced at $1,500 per ticket, with proceeds going to the Make - a-Wish Foundation charity . Just a few weeks before the film's release, Walt Disney Pictures decided to move the United States opening of At World's End from screenings Friday, May 25, 2007 to Thursday at 8 PM, May 24, 2007 . The film opened in 4,362 theaters domestically, beating Spider - Man 3's theater opening record by 110 (this record was surpassed by The Dark Knight the following year). </P> <P> After a muted publicity campaign, the trailer finally debuted at ShoWest 2007 . It was shown on March 18, 2007 at a special screening of Pirates of the Caribbean: The Curse of the Black Pearl named "Pirates Ultimate Fan Event", and was then shown on March 19 during Dancing with the Stars, before it debuted online . Action figures by NECA were released in late April . Board games such as a Collector's Edition Chess Set, a Monopoly Game, and a Pirates Dice Game (Liar's dice) were also released . Master Replicas made sculptures of characters and replicas of jewellery and the Dead Man's Chest . A video game with the same title as the film was released on May 22, 2007 on Xbox 360, PlayStation 3, Wii, PSP, PlayStation 2, PC, and Nintendo DS formats . The soundtrack and its remix were also released on May 22 . </P> <P> At least one nation's official censors ordered scenes cut from the film . According to Xinhua, the state news agency of the People's Republic of China, ten minutes of footage containing Chow Yun - fat's portrayal of Singaporean pirate Sao Feng were trimmed from versions of the film which may be shown in China . Chow is onscreen for twenty minutes in the uncensored theatrical release of the film . No official reason for the censorship was given, but unofficial sources within China have indicated that the character gave a negative and stereotypical portrayal of Chinese people . </P>

Where was the pirates of the caribbean 3 filmed