In-line evaluation

Is there any function in flash that allows for ‘in-line evaluation’?

For example, in php I can type

eval ( ‘php statement here’ );

and php will execute ‘php statement here’ as if I typed it as a command. I’m trying to execute dynamic code is the problem.