The simple workaround is to pass a remote object into my class and call a (very) simple web service to evaluate the expression. In this case, I wrote a simple coldfusion web service that returns the result of Evaluate(booleanExpressionString).
Seems like a dreadfully simple thing that is missing from ActionScript....just saying. --- In flexcoders@yahoogroups.com, "BillF" <bill.franklin@...> wrote: > > So, I have a string expression that I need to evaluate as a boolean result. > Any ideas on how to do that? The expression can be in any valid boolean > format.. > > example1: "(true && false) || true", evaluate to true > example2: "false || (true && not true)", evaluate to false > example3: "false || true", evaluate to true > example4: "true && false", evaluate to false > example5: "true" > > TIA > > Bill >