Based on the information provided, I recommend the novel I Come From the Mirror. Although it's not an old movie, its plot shuttles through many old movies, including the one you're looking for. The story told the story of the protagonist shuttling through old movies through a strange tablet, pursuing the true meaning of life. I hope you like my recommendation.