President Obama in the heart of Tinseltown on Tuesday had a clear message for Hollywood executives: Don't glorify violence.

“When it comes to gun violence, we’ve got to make sure that we’re not glorifying it,” Obama said during remarks at DreamWorks Animation in Los Angeles.

“The stories you tell matter,” he added.

The president's push for gun-control legislation has stalled in Washington. And some have criticized the president for not doing enough to implore Hollywood to tone down Images of violence in mass entertainment.

Obama used the trip to the Hollywood studio, sandwiched in between a series of West Coast fundraisers, to tout the contributions of the entertainment industry to the U.S. economy.

"Entertainment is one of the bright spots of our economy,” Obama said. “The difference between what we can do and other countries is enormous."

The president also joked that his ears were the inspiration for one famous DreamWorks character: Shrek.

And Obama couldn’t resist cracking a movie-themed joke — at Congress’ expense.

“When it comes to Congress, there’s no such thing as an offer they can’t refuse,” he said, alluding to the famous line from “The Godfather.”

On a more serious note, the president vowed that the glitch-filled rollout of Obamacare's online marketplaces would soon be fixed. The administration has said will work for the “vast majority” of users by Dec. 1.

"By the way, the website is continually working better," he told the friendly California crowd. "So, check it out."