3 Replies Latest reply on Jun 23, 2008 4:08 AM by |>AoA<|_killa

    eval()

    |>AoA<|_killa Level 1
      What i want to do is have an array of textboxes/dropdownlists/... and stuff that's loaded from a database. This I can do.
      What I can't do: sometimes there are formulas associated with the textboxes/dropdownlists/... so that if a textbox/list/... changes it calculates that given formula. I could communicate from flex to some php script to eval() it, but that would be slow. I've tried D.eval() ( http://www.riaone.com/products/deval/index.html) but the code at the bottom of this post gives me "Access of undefined property r1." (while it does pop up the drop down list when i type in "r1.")
      I've put the D.eval-1.1.swc file in the src directory of my flex project.