The Flintstones in Viva Rock Vegas was a 2000 Burger King Kids Meal toy series.
Among these toys was Fred Flintstone in a tuxedo "driving" a red car. Fred can separate from the car and be used as a wind-up walking toy. When placed in the car, Fred moves with the car as if he was driving it.