Charlie and the Chocolate Factory (franchise) Ross, Rob Minkoff, Martin Scorsese and Tom Shadyac had been involved, while Warner Bros. either considered or discussed the role of Willy Wonka with Nicolas Cage, Jim Carrey, Michael Keaton, Brad Pitt, Will Smith and Adam Sandler. Burton immediately brought regular collaborators Johnny Depp and Danny Elfman aboard. "Charlie and the Chocolate Factory" represents the first time since "The Nightmare Before Christmas" that Elfman contributed to the film score using written songs and his vocals. Filming took place from June to December 2004 at Pinewood Studios in the United Kingdom, where Burton avoided using digital effects as much as possible.
Willy Wonka & the Chocolate Factory is actually Mr. Wilkinson, an employee of Wonka, and the offer to buy the Gobstopper was a morality test that only Charlie passed. The trio enter the "Wonkavator", a multi-directional glass elevator that flies out of the factory. Soaring over the city, Wonka reveals that his actual prize is the factory; Wonka created the contest to find an heir worthy enough, and so Charlie and his family can immediately move in. Wonka then reminds Charlie not to forget about the man who suddenly received everything he ever wanted. Charlie asks, "What happened?" to which Wonka replies, "He lived happily ever