1 Reply Latest reply on Oct 26, 2006 7:39 PM by kglad

    Simple Form Script

    tincup1954
      I am working with ( simpleForm_start.fla) I have this script typed in into the Actions laye frame 1 ...
      //Stops the playhead at frame 1
      stop();
      //Adds conditional logic for the Submit button that validates user input
      this.submit_btn.onRelease = function(){
      if (url_txt.text == null || url_txt.text ==””){
      gotoAndStop("error");
      } else {
      getURL(" http://"+url_txt.text);
      gotoAndStop("confirm")
      }
      };

      and I am getting an error message of ....
      **Error** Scene=Scene 1, layer=Actions, frame=1:Line 5: Operator '==' must be followed by an operand
      if (url_txt.text == null || url_txt.text ==””){

      Total ActionScript Errors: 1 Reported Errors: 1

      If anyone can see what i have wrong or is there a glitch in the help files
      thanks Mike