title: accessing Google API in Flex - get security error after deploying.
body: <p>I am using the Google Geocoding API (JSON URL) to perform some geocoding work. I can get it work in the development box. However, once I deploy the application to IIS, I got a security error and tell me the URL is not be able to reach. </p>
  
  <p>Here is the message. 
  security error accessing ULR - channel security error. </p>
  
  <p>Here is the source code I use. I am pretty sure the URL is correct since I can get the result by accessing it directly in IE. </p>
  
  <pre><code>        //call google url serive
          var httpService : HTTPService = new HTTPService( );
          var temps:String = itemg["ADDRESS_1"] + "," + itemg["CITY"] + "," + itemg["STATE"];
          temps = CSVUtil.str_replace(temps,",",",+"); 
          temps = CSVUtil.str_replace(temps, " ","+"); 
          //var urlstring = "http://maps.googleapis.com/maps/api/geocode/json?address=" + temps + "&amp;sensor=false";
          var urlstring:String = googleurl + temps + "&amp;sensor=false";
          Alert.show(urlstring); 
          httpService.url = urlstring; 
          httpService.addEventListener(ResultEvent.RESULT, resultFunction);
          httpService.addEventListener(FaultEvent.FAULT, faultfunction);
          httpService.send();
          Alert.show("request send out");
  </code></pre>