1 Reply Latest reply on May 30, 2007 6:31 AM by Leoš

    URLRequest Post Form With Numeric Field Name

    BLXWebMaster Level 1
      I am trying to do a simple post and am getting a compile error which I believe is due to my Form field name.

      var httpURL:URLRequest = new URLRequest(StrURL);
      var Form:URLVariables = new URLVariables();
      httpURL.method = URLRequestMethod.POST;

      Form.2z = "10023"; This line throws an error

      httpURL.data = Form;

      Is this error because the variable starts with a number? If so, does anyone have a work around as I have no control over the form recieving the post and do not want to post to a redirect.