1

I was wondering if actionscript had something equivalent to PHP's create_function. Specifically, the ability to create a function from a string is what I am looking for.

Fragsworth
  • 33,919
  • 27
  • 84
  • 97

1 Answers1

3

ActionScript 3 does not natively support an eval() function (which is what you're looking for), but there are several libraries which provide it.

D.eval - http://www.riaone.com/products/deval/
AS3 Eval Library - http://eval.hurlant.com/

Scott Hyndman
  • 923
  • 1
  • 7
  • 15