You walk into a room, you smell milk. Somewhere. That's "der Mann riecht Milch"
You take the bottle from the fridge and smell if it's still good is "riecht an der Milch"
The second one is a deliberate action
As for the question about the movie, the way you're learning as the correct...