I think I saw a movie from a long time ago. The plot was kind of vague, but it revolved around a young boy that tried to solve a murder. He ends up finding that a close friend, who is a middle-aged man or something and the boy one night sees a little girl that looks like Shirley Temple. The girl ghost gets bashed in the head by an unseen person and gets carried to the edge of a cliff and thrown into the crashing waves of the ocean below.