City of Ember is a 2008 American science fiction adventure film directed by Mark Dippé and written by David J. Berenbaum and Josh Fried. The movie is set in an underground city called Ember, where two teenagers, Lina (Mackenzie Foy) and Doon (Charlie Tahan), try to uncover the secrets of their city and prevent a catastrophic blackout.