If your really stuck, try a different approach:
Use Google Local Search
private function doLocalSearch():void {
var locSearch:HTTPService = new HTTPService();
locSearch.url = 'http://ajax.googleapis.com/ajax/services/search/
local';
locSearch.request.v = '1.0';
locSearch.request.q = zipcode.text + ', US';
locSearch.request.rsz = 'small'
locSearch.resultFormat = 'text';
locSearch.addEventListener(ResultEvent.RESULT, onServerResponse);
locSearch.send();
}
}
On Sep 27, 10:23 pm, dmenn <[email protected]> wrote:
> Anyone? I _really_ need this working soon... it is for a very large
> project and this is the last piece I need working. I've swapped from
> using XML to JSON just thinking that might help - same security error
> though. I have publish settings as access network files only. I have
> tried getting new keys based on the sub domain and even more granular
> with the folder it's in. Nothing works... every time I access the
> geocode service from within a web page I get the sandbox violation.
> Every time I try from within Flash it works fine... someone must know
> why this happens.
>
> The link to the current file is:
>
> http://design.gmrmarketing.com/nissanleaf/hundredmiles/
>
> I try and set a default zip code and that's why the error appears
> right away... I can't see anything from using Charles or Firebug
> either.
--
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.