From 2007 to 2009 , she starred in two Harry Potter films and their video games . She will return for the final films ( Harry Potter and the Deathly Hallows ) and the first of the film 's two video games . From 2007 to 2010 , she was in three Harry Potter films and their tie-in video games ; she will return for the final film and the film 's two tie-in video games .