I don't know why but you seem to ignore the posts who actually answer your question.
To sum up what has already been said:
- It is not possible to execute AS stored in a string variable with any native function
- There are however libraries for this, interpreters, which seems to work to some extent
If you know what your code will do at compile time (i.e. it will not change during runtime) use functions, as mentioned in the very first reply.