James Marsden has joined the cast of the upcoming comedy "Walk of Shame," which will also star Elizabeth Banks.

"Walk of Shame" centers on a high-strung news anchor (Banks) who experiences a wild night out, only to end up locked out on the street with no phone, money, ID or car the next morning. She must endure a series of further misfortunes and misadventures on her way to the most important job interview of her life later that day.

Marsden's role has yet to be revealed, but he will be the male lead.

 
Steven Brill ("Drillbit Taylor") wrote the script and will direct the film, with Lakeshore’s Tom Rosenberg and Gary Lucchesi producing along with Sidney Kimmel.

Marsden, probably best known for playing Cyclops in the first three "X-Men" films, recently appeared in "Robot & Frank," and can currently be seen on NBC's "30 Rock" (which Banks has also appeared on).