0 Replies Latest reply on Nov 4, 2009 8:27 AM by Carl Trapani

    Dynamic Expression Evaluation in AS 3

    Carl Trapani

      Hi all,

       

      AS 2 had the eval() function, but it was removed in AS 3. Does anyone know of a way to dynamically evaluate an expression in AS 3+?

       

      I'm trying to impliment a feature that allows a user to define the behavior of a component based on the evaluation of an expression (composed of  conditional, logical and grouping operators which operate on constants and remote data sources).

       

      Any ideas how one might do that using the current Flex toolset and or 3rd party libs?

       

      Thanks in advance,

      Carl

       

      PS - Anyone ever use this libarary:

      http://code.google.com/p/flexeval/

       

      Doesn't seem like there is much activity there.