A Midsummer Night's Sex Comedy is a 1982 film written, directed by and starring Woody Allen. The plot is loosely based on Ingmar Bergman's Smiles of a Summer Night. This was the first of 13 movies that Allen would make starring Mia Farrow. Farrow's role was originally written for another Allen lead actress, Diane Keaton, but she was busy promoting her film Reds and preparing to begin production on Shoot the Moon. It also marks the first appearance of Allen as an ensemble performer in his own film, as previously he had either been the lead character or did not appear in his films. Julie Hagerty, Mary Steenburgen, Tony Roberts and Jose Ferrer co-starred. The film was nominated for one Razzie Award: Worst Actress, for Mia Farrow – the only time a Woody Allen film has been nominated for a Razzie.