form GET method on submit parameter name problems!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daJunkCollector
    New Member
    • Jun 2007
    • 76

    form GET method on submit parameter name problems!

    Hey,

    I am trying to use MapQuest's directions forms from my flash website. The code that they provide for you is basic html.

    I am trying to send the form from inside a flash movie. The code is very simple:

    var my_lv:LoadVars = new LoadVars();
    my_lv.go = "1";
    my_lv.2a = "555 Giffin Avenue";
    my_lv.2c = "Canonsburg ";
    my_lv.2s= "PA";
    my_lv.2z= "15317";
    my_lv.2y= "US";
    my_lv.1a = "555 Cherry Street";
    my_lv.1c = "Pottsville ";
    my_lv.1s = "PA";
    my_lv.1z = "17901";
    my_lv.1y= "US";
    my_lv.CID = "lfddwid";
    _root.my_lv.sen d("http://www.mapquest.co m/directions/main.adp", "_blank", "GET");


    This should send with no problem and load up directions on mapquest.com. The problem is that FLASH will not let me specify the parameter names "2a, 2c, 2s, 2z, 2y, 1a, 1c, 1s, 1z, or 1y". I think this is because they parameter names begin with a numeric character!! But mapquest required these paramter names to function!!!!!

    I am so mad how something so simple can give trouble. Please provide help if you have a suggestion.

    BTW... i tried:

    var destinationAddr ess = "1a";
    my_lv._root.des tinationAddress = "US";

    Big surprise. Flash sucks. Thanks.
  • daJunkCollector
    New Member
    • Jun 2007
    • 76

    #2
    bump bump bump bump

    help me please

    Comment

    • daJunkCollector
      New Member
      • Jun 2007
      • 76

      #3
      puke...i just puked in my mouth

      Comment

      • nomad
        Recognized Expert Contributor
        • Mar 2007
        • 664

        #4
        Originally posted by daJunkCollector
        Hey,

        I am trying to use MapQuest's directions forms from my flash website. The code that they provide for you is basic html.

        I am trying to send the form from inside a flash movie. The code is very simple:

        var my_lv:LoadVars = new LoadVars();
        my_lv.go = "1";
        my_lv.2a = "555 Giffin Avenue";
        my_lv.2c = "Canonsburg ";
        my_lv.2s= "PA";
        my_lv.2z= "15317";
        my_lv.2y= "US";
        my_lv.1a = "555 Cherry Street";
        my_lv.1c = "Pottsville ";
        my_lv.1s = "PA";
        my_lv.1z = "17901";
        my_lv.1y= "US";
        my_lv.CID = "lfddwid";
        _root.my_lv.sen d("http://www.mapquest.co m/directions/main.adp", "_blank", "GET");


        This should send with no problem and load up directions on mapquest.com. The problem is that FLASH will not let me specify the parameter names "2a, 2c, 2s, 2z, 2y, 1a, 1c, 1s, 1z, or 1y". I think this is because they parameter names begin with a numeric character!! But mapquest required these paramter names to function!!!!!

        I am so mad how something so simple can give trouble. Please provide help if you have a suggestion.

        BTW... i tried:

        var destinationAddr ess = "1a";
        my_lv._root.des tinationAddress = "US";

        Big surprise. Flash sucks. Thanks.
        trying String values. and or an array with string values

        Comment

        Working...