0 Replies Latest reply on Mar 14, 2008 8:44 PM by cwseattle

    url encoding and getUrl

    cwseattle
      I've created a flash search widget that needs to use the google clickTag. It works fine if I search with one term. But if I search for two terms, the resulting url is ...com/search/term1%20term2. For Google tracking, this needs to be the '+' character. Here is the actionscript:
      on (release, keyPress "<Enter>")
      {
      if (the_text != "" && the_text != undefined)
      {
      getURL(_root.clickTag + "/search/" + the_text, _blank);
      } // end if
      }
      I saved as flash player 8 and tried in both AS1.0 and AS2.0.
      Any suggestions out there for solving this?

      cwseattle