Garner in the film after seeing her performance in Mike Mills's short Architecture of Assurance. The film, which was based on the real-life 1993 murder of Bobby Kent, received critical acclaim. Her next major role came at age nineteen in Martin Scorsese's The Aviator (2004), in which she portrayed actress Faith Domergue, opposite Leonardo DiCaprio as Howard Hughes. According to Garner, she wore brown contact lenses to her audition in order to further embody Domergue; she has said that she tripped and fell when entering the audition room in front of director Scorsese and star DiCaprio. "I thought I'd lost the job," she recalled, "But I think it was that moment that made it work [because] the character was someone who was trying to be much older than she was." The following year, she appeared in the comedy Man of the House, and the independent teen drama Thumbsucker (2005), opposite Lou Taylor Pucci and Vince Vaughn. She had supporting parts in the independent films London (2005) and Dreamland (2006), the latter of which earned her a Best Actress award at Method Fest Independent Film Festival, shared with co-star Agnes Bruckner. In December 2005, Garner starred in the Off-Broadway production of Dog Sees God: Confessions of a Teenage Blockhead at the Century Center for the Performing Arts, co-starring with America Ferrara, Eddie Kaye Thomas, and Ari Graynor, among others. She later appeared in the Green Day music video, "Jesus of Suburbia" (with Thumbsucker co-star Lou Taylor Pucci). In 2007, Garner appeared in a lead role in the critically acclaimed drama Lars and the Real Girl as Ryan Gosling's co-worker and love interest. In 2008, she appeared again onstage in an Off-Broadway production of Anton Chekhov's The Seagull opposite Dianne Wiest, as Nina. Ben Brantley of The New York Times, though critical of some elements of the production, praised Garner's performance among her younger co-stars. She had a minor part in the comedy Taking Woodstock (2009), and in the Disney film G-Force (2009), which she followed with a supporting role in Going the Distance (2010), opposite Drew Barrymore. Between 2011 and 2012, she had a main role as Kate Cameron on the period series Pan Am, opposite Christina Ricci. Garner was next cast in Alexandre Aja's horror-fantasy Horns (2014) with Daniel Radcliffe, and played the title role in the Lifetime mini-series The Secret Life of Marilyn Monroe, opposite Susan Sarandon as her