Upon further checking, I see that the key used in wireshark capture is
the same key I was using for my "localhost" development on my laptop,
prior to getting new keys to test on an web server.  Why is Flex
Builder compiling my .swf with the old Maps API key?

Thanks,

Homer

On Apr 8, 2:49 pm, homer <[email protected]> wrote:
> I am having API Ke problems moving my flex map application from my
> development pc to a local server, which is behind my firewall.
>
> I got several keys and none work.  I have tried the following:
> http://<server>
> http://<server>/<file>.html
> http://<server>/<file>.swf
>
> I ran wireshark and see the following call:
>
> GET /mapsapi/publicapi?file=flashapi&url=http%3A%2F%2F<my server>
> %2F<my file>.swf&key=<a key but not mine?>&v=1.9&flc=x HTTP/1.1\r\n
>
> Upon closer checking, I see that the trailing portion of the key does
> not match the key I obtained and am using in Flex Builder.
> The key I obtained for the .swf file is
>   ...
> ABQIAAAAWHZrWlMGraBjHwVdHSaHlxQWz8HnqywzngDz96mOab6bMnZA8BSF_oMmTovHp0O2MtW­yXHdr34K7Wg
> This key is what I use in the MX map declaration.
>
> <maps:Map
>    xmlns:maps="com.google.maps.*"
>    id="map"
>    mapevent_mapready="onMapReady(event)"
>   width="100%"
>   height="100%"
> key="ABQIAAAAWHZrWlMGraBjHwVdHSaHlxQWz8HnqywzngDz96mOab6bMnZA8BSF_oMmTovHp0­O2MtWyXHdr34K7Wg"
>   visible="true"
> />
>
> The key I see in wireshark:
> GET /mapsapi/publicapi?file=flashapi&url=http%3A%2F%2F<server>
> %2F<file>.swf&key=ABQIAAAAWHZrWlMGraBjHwVdHSaHlxRt8ppnWrojFEZjxwI-
> UsfN6Y1yKBSH-wqpjLV55lRwyw4fQU3bxnPtmw&v=1.9&flc=x HTTP/1.1\r\n
>
> I have cleared cache on both IE and Firefox.  Both give me the Map
> Init error, and both use the same key in wireshark captures.
>
> Any help greatly appreciated.
>
> Homer
--~--~---------~--~----~------------~-------~--~----~
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