the purple rose of cairo
a 1985 American romantic fantasy comedy film written and directed by Woody Allen, and starring Mia Farrow, Jeff Daniels, and Danny Aiello. Inspired by Sherlock Jr., Hellzapoppin', and Pirandello's Six Characters in Search of an Author, it is the tale of a film character named Tom Baxter who leaves a fictional film of the same name and enters the real world.
The film was released on March 1, 1985. It won the BAFTA Award for Best Film, while Allen received several screenwriting nominations, including an Academy Award, a BAFTA Award and a Writers Guild of America Award. Allen has ranked it among his best films, along with Stardust Memories and Match Point.
https://www.imdb.com/title/tt0089853/
https://www.boxofficemojo.com/movies/?id=purpleroseofcairo.htm
http://www.findarticles.com/p/articles/mi_qa3768/is_200101/ai_n8946651
http://film.guardian.co.uk/interview/interviewpages/0,6737,562682,00.html