Transformers: The Movie from 85 or was it 86 (?) is a great example of how you can tie in music with what happens in the story. There's hardly a moment in the film which is not accentuated by music. Here's an example, though you should skip about a minute in :
The song is "Dare" by Stan Bush .. Ah, to be a child of the 80s.