3 Replies Latest reply on Nov 15, 2007 10:19 AM by crazyjoemilan

    Problem loading variables

    Venian Level 2
      Hi.

      I have this code:

      on (release, keyPress "<Enter>") {
      if (cod != "") {
      loadVariablesNum("coduri.php", 0, "POST");
      _root.top3_lv.load("top.php");
      _root.lorem_lv.load("user.php");
      }
      }

      The problem is that it loads the variables of the last line of code: "_root.lorem_lv.load("user.php");". I have on the main timeline code for onLoad for both of them and when i press the botton from the code above the variables loaded from the last line of code update instantly while the variables from the other load function don't update. If i switch them then the other works. It always works the last one.

      How can i make then work both on the press of the button?

      Thank you.