The film was shot in Beverly Hills and New York City during the third quarter of 2008; main shooting began on September 5, 2008, two days before Spears's appearance at the MTV Video Music Awards.
Med letoma 1922 in 1953 je Rivera slikal freske v Ciudadu de México, Chapingo, Cuernavaci, San Franciscu, Detroitu, New Yorku in drugod.