She became known for her roles in Because of Winn-Dixie and Race to Witch Mountain, for which she won a Denver Film Festival Rising Star Award. She appeared in Tim Burton's Charlie and the Chocolate Factory and Bridge to Terabithia, and also starred in Soul Surfer.
She competed in gymnastics and dance for almost five years before pursuing a career in acting. One of her first roles was in a McDonald's commercial.
She won a 2009 Denver Film Festival Rising Star Award.
Her parents are Janet Robb, an interior designer, and David Robb, an architect. They named her after her grandmother, Anna Marie.
She starred in Charlie and the Chocolate Factory with Johnny Depp.