Hart also wrote some screenplays, including "Gentleman's Agreement" (1947) – for which he received an Oscar nomination – "Hans Christian Andersen" (1952) and "A Star Is Born" (1954). He wrote a memoir, "Act One: An Autobiography by Moss Hart", which was released in 1959. It was adapted to "film" in 1963, with George Hamilton portraying Hart. The last show Hart directed was the Lerner and Loewe musical "Camelot" (1960). During a troubled out-of-town tryout, Hart had a heart attack. The show opened before he fully recovered, but he and Lerner reworked it after the opening. That, along with huge pre-sales and a cast performance on "The Ed Sullivan Show", helped ensure the expensive production was a hit.