The events at TMI certainly were a factor.
The irony is that the TMI proved that the the "safety in depth" design worked. In spite of an equipment failure AND errors in judgement by operations personnel,
no one was hurt and no
significant release of radiation occurred.
As far as public opinion was concerned, the events at Chernobyl were a factor as well. Of course, most people had no sense of understanding that we don't have reactors in the US designed to produce
both power and weapons grade plutonium.
Another movie that did its part to damage the nuclear industry was
Silkwood.
Speaking of the NIMBY philosophy (not in my back yard), I'd much rather have a nuclear power plant as a neighbor than a fossil fuel plant. Of course, Senator Kennedy has stood in the way of wind power mills being placed near Nantucket Sound!
Bringing this back closer to the original intent of this thread, movies definitely can have an effect on public opinion when the subject has any controversy attached to it. Thank goodness we have Oliver Stone to tell us how and why JFK was
actually killed!