'Mr. Peabody & Sherman' (PG)

With Mr. Peabody & Sherman, Dreamworks Animation sets its Way Back Machine to the early 1960s and charmingly revives one of the most popular features of the old Rocky & Bullwinkle Show — the one about a dog and his boy.

This winning, witty and warm cartoon captures the flavor, the tone and some of snappy pace of the TV shorts that began with the droll voice of Bill Scott intoning, “Peabody here, my boy, Sherman…”

Mr. Peabody is a Nobel Prize-winning pooch who “invented the fist-bump, auto-tune and Zumba,” and then adopted Sherman. He’s given the boy, now 7, a head-start on school by taking the kid time-traveling. The Way Back Machine has, we can see from the photos decorating their apartment walls, allowed Sherman to meet everyone from Gandhi to Einstein, Leonardo to the Wright Brothers. He’s given Van Gogh painting suggestions, caught a Jackie Robinson home run and short-circuited Ben Franklin.

“Where are we going today, Mr. Peabody?”

“Not where, Sherman. When.”

As long as Sherman keeps this a secret, nobody will be the wiser as to why he knows, for a fact, that George Washington never chopped down a cherry tree. Of course, Sherman can’t keep a secret, not even from the mean girl, Penny, who bullies him.

And that’s when the trouble starts. Actually, the first “when” is ancient Egypt. Then they check in on Leonardo Da Vinci and try to make Mona Lisa crack a smile. The movie drops in on The Trojan War.

Fans of the old Jay Ward TV show may take longer in adjusting to the new voices — Ty Burrell of Modern Family is a droll-enough Peabody, Max Charles (The Neighbors) is Sherman. But the witty word play and the pull-out-all-stops supporting cast start to pay off.

The animated details of this Rob Minkoff (The Lion King) comedy are an animated 3D feast for the eyes. The canvas wings of a Da Vinci glider ripple in the breeze, and when Peabody entertains Penny’s parents (Leslie Mann, Stephen Colbert, a hoot) with a little Jimi Hendrix, he even plays Jimi’s Fender upside down.

Things drag, here and there. But kids will dig the slapstick, the talking dog and giggle at what flies out of the Sphinx’s butt, or drops from the rear-end of the Trojan Horse. Adults will be tickled at the usual Dreamworks parade of one-liners, running gags and puns, and feel a little sentimental, especially if you’re old enough to know the true lesson these characters taught us on TV, the “moral of the story,” as they used to say.

“Every dog should have a boy.”

Voices: Ty Burrell, Max Charles, Patrick Warburton, Stephen Colbert, Leslie Mann, Stanley Tucci.
Director: Rob Minkoff.
Screenwriter: Craig Wright. Based on the Jay Ward cartoons.
A DreamWorks Animation release. Running time: 88 minutes. Brief rude humor. Playing at area theaters.