문제

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.

도움이 되었습니까?

해결책

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/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top