The Flintstones in Viva Rock Vegas is a 2000 American romantic comedy film directed by Brian Levant, written by Jim Cash, Harry Elfont, Deborah Kaplan, and Jack Epps, Jr., and is the prequel to Levant's The Flintstones (1994), based on the 1960–66 animated television series of the same name. It is set before the events of both the series and the first film, showing how Fred and Barney meet Wilma and Betty. The title is a play on the Elvis Presley song, Viva Las Vegas, also used as the title of an MGM musical film.