Question
String to new Function
Hello,
Is it possible to convert a string to a new function e.g.
var myNewFunction:Function;
myNewFunction = "myStringFunction(){trace('this has been called');};"
myNewFunction();
//trace Result
this has been called
Thanks in advance