4 Replies Latest reply on Sep 20, 2006 5:08 PM by crazyjoemilan

    sendAndLoad() fun

    crazyjoemilan Level 2
      on(release) {
      var my_lv:LoadVars = new LoadVars();
      my_lv.titleV = titleV
      my_lv.DescriptionV = DescriptionV
      my_lv.TimeV = TimeV
      my_lv.dateV = dateV
      my_lv.sendAndLoad("newRecord.php", this, "GET");
      my_lv.onLoad = function() {
      trace(my_lv.outputVar);
      }
      }

      So really what I'm doing here is getting this to make a new record in a database. err, trying to do. My php file works fine, I just can't seem to trigger it correctly from flash. The above is the code I was using. Please enlighten me :)