Convert string into Actionscript Code

I need one function that converts string into actionscript code,
i’ve been searching but I don’t find anything.

Example:

myString = “Number(var1.txt) * Number(var2.txt) + 1000”;

result.text = desiredFunction(myString); // is equal > result.text = Number(var1.txt) * Number(var2.txt) + 1000;

Thanks

Im kinda interested about this too, lately i’ve been using php to compile external “.as” files to do this.

hehe, I don’t understand :confused: