Complicated Equations

Hey,
I’m trying to make a thing where, a person could type in an equation and I could then evaluate it. Understand? Is there any way to make flash like evalute a string? You understand my dilema… Pos if your confused.