Several lawmakers had a Hollywood moment Tuesday night as they attended a movie-themed fundraiser but not all of them stayed for the free film.

Sens. Ben CardinBenjamin (Ben) Louis CardinOvernight Cybersecurity: Equifax CEO faces outraged lawmakers | Dem presses voting machine makers on cyber defense | Yahoo says 3 billion accounts affected by 2013 breach Key Dem: Did Kushner use private emails to talk with foreign governments? Dem senator pitches ideas for gun control after shooting MORE (D-Md.), Pat Leahy (D-Vt.) and John McCainJohn Sidney McCainRubio asks Army to kick out West Point grad with pro-communist posts The VA's woes cannot be pinned on any singular administration Overnight Defense: Mattis offers support for Iran deal | McCain blocks nominees over Afghanistan strategy | Trump, Tillerson spilt raises new questions about N. Korea policy MORE (R-Ariz.) were among the guests at a fundraiser for Tracy's Kids, which has provided emotional therapy for children diagnosed with cancer since 1991.

In addition to its work helping children, the group awards a public official with its Courage Award. This year's winner was McCain, who kept working in the Senate despite suffering from an advanced case of melanoma on his face.

"Wear sunscreen and stay out of the sun," McCain advised. "Be careful, see your dermatologist."

The fundraiser screens Oscar-nominated movies for its guests, and this year attendees got to choose from "Milk," "Rachel Getting Married," "Doubt," "Revolutionary Road," "Slumdog Millionaire" and "The Dark Knight."

"Slumdog" was full to capacity long before the movies began, while the other films only had a smattering of people watching them. Leahy had a cameo role in the Dark Knight, and Cardin was excited to see it.

"I want to see him in his premier role," Cardin said. "I was disappointed he didn't get the Oscar nomination."

McCain didn't stay for the free movie, saying he had no time. "I have to get back to the office, I'm sorry to say," he said.

-- Samuel Rubenfeld