Pregunta

Me preguntaba si ActionScript tenía algo equivalente a PHP es create_function . En concreto, la posibilidad de crear una función de una cadena es lo que estoy buscando.

¿Fue útil?

Solución

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/

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top