On a hunch, I looked at the change log for the latest version of the
sdk (1.9a).  Sure enough, a fix was in that build for geocoding from a
SWF hosted on https.  I pulled down the sdk, rebuilt and, voila, it
worked.  Thanks to this team for putting out some cool products

On May 5, 11:08 am, gtuerk <[email protected]> wrote:
> The SWF is embedded in a secure domain (https://).  I've seen a couple
> of other posts with respect to this.  Is the ClientGeocoder supported
> on https?
>
> On May 5, 10:57 am, gtuerk <[email protected]> wrote:
>
> > The error I'm getting is a 500 error
>
> > On May 5, 10:24 am, gtuerk <[email protected]> wrote:
>
> > > Hi
> > > I have a map embedded in salesforce.com and am using the address data
> > > from that tool to plot locations on the map.  I want to implement
> > > geocoding such that the address that the system has can be validated.
> > > I am getting a geocoding failure and I'm not sure how to determine why
> > > it's failing.  Sorry for newbie question...
>
> > > private function doGeocode(event:Event):void{
> > >                         //Alert.show("Geocode this address", "Info");
> > >                         var geocoder:ClientGeocoder = new 
> > > ClientGeocoder();
> > >                         geocoder.addEventListener(
> > >                                 GeocodingEvent.GEOCODING_SUCCESS,
> > >                                 function(event:GeocodingEvent):void{
> > >                                         var placemarks:Array = 
> > > event.response.placemarks;
> > >                                         Alert.show("Success");
> > >                                 });
> > >                         geocoder.addEventListener(
> > >                                 GeocodingEvent.GEOCODING_FAILURE,
> > >                                 function(event:GeocodingEvent):void {
> > >                                         Alert.show("Geocoding failed");
> > >                                 trace(event);
> > >                                 trace(event.status);
> > >                                 });
> > >                         geocoder.geocode(inAddress.text.toString());
> > >                 }
>
> > > I call the doGeocode from a button and the form that contains that
> > > button has an inputText whose value I scrape in the request (above)
>
> > > <mx:FormItem>
> > >                                                 <mx:Button 
> > > id="btnGeocode" click="doGeocode(event)"
> > >                                                         label="Geocode" />
> > >                                         </mx:FormItem>
>
> > > any ideas where I'm bombing here?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to